Regenerated
This commit is contained in:
+290
-296
File diff suppressed because it is too large
Load Diff
+2
-8
@@ -2358,7 +2358,7 @@ workspace {
|
||||
** =generated/modules/traveldroid/desktop/wallpaper.nix=
|
||||
Setting up wallpaper engine + wallpaper gui
|
||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/desktop/wallpaper.nix :noweb yes :mkdirp yes :eval never
|
||||
{ config, pkgs, lib, flakeRoot, ... }:
|
||||
{ config, pkgs, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
@@ -2369,9 +2369,6 @@ in
|
||||
{
|
||||
environment.systemPackages = with pkgs; [ rsync bash ];
|
||||
|
||||
############################
|
||||
# User systemd oneshot service to copy wallpapers
|
||||
############################
|
||||
systemd.user.services.copyWallpapers = {
|
||||
description = "Copy wallpapers from repo to ~/Wallpapers";
|
||||
wants = [ "graphical-session.target" ];
|
||||
@@ -2379,10 +2376,7 @@ in
|
||||
|
||||
serviceConfig.Type = "oneshot";
|
||||
|
||||
serviceConfig.ExecStart = ''
|
||||
mkdir -p "${wallpaperDst}"
|
||||
rsync -avu "${wallpaperSrc}/" "${wallpaperDst}/"
|
||||
'';
|
||||
serviceConfig.ExecStart = "${pkgs.bash}/bin/bash -c 'mkdir -p \"${wallpaperDst}\" && rsync -av \"${wallpaperSrc}/\" \"${wallpaperDst}/\"'";
|
||||
|
||||
serviceConfig.Restart = "no";
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib, flakeRoot, ... }:
|
||||
{ config, pkgs, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
@@ -9,9 +9,6 @@ in
|
||||
{
|
||||
environment.systemPackages = with pkgs; [ rsync bash ];
|
||||
|
||||
############################
|
||||
# User systemd oneshot service to copy wallpapers
|
||||
############################
|
||||
systemd.user.services.copyWallpapers = {
|
||||
description = "Copy wallpapers from repo to ~/Wallpapers";
|
||||
wants = [ "graphical-session.target" ];
|
||||
@@ -19,10 +16,7 @@ in
|
||||
|
||||
serviceConfig.Type = "oneshot";
|
||||
|
||||
serviceConfig.ExecStart = ''
|
||||
mkdir -p "${wallpaperDst}"
|
||||
rsync -avu "${wallpaperSrc}/" "${wallpaperDst}/"
|
||||
'';
|
||||
serviceConfig.ExecStart = "${pkgs.bash}/bin/bash -c 'mkdir -p \"${wallpaperDst}\" && rsync -av \"${wallpaperSrc}/\" \"${wallpaperDst}/\"'";
|
||||
|
||||
serviceConfig.Restart = "no";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user