Regenerated
This commit is contained in:
+293
-290
File diff suppressed because it is too large
Load Diff
+5
-2
@@ -2367,7 +2367,7 @@ let
|
|||||||
wallpaperDst = "${homeDir}/Wallpapers";
|
wallpaperDst = "${homeDir}/Wallpapers";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [ bash rsync ];
|
environment.systemPackages = with pkgs; [ bash coreutils ];
|
||||||
|
|
||||||
systemd.user.services.copyWallpapers = {
|
systemd.user.services.copyWallpapers = {
|
||||||
description = "Copy wallpapers from repo to ~/Wallpapers";
|
description = "Copy wallpapers from repo to ~/Wallpapers";
|
||||||
@@ -2377,7 +2377,10 @@ in
|
|||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
|
|
||||||
serviceConfig.ExecStart = ''
|
serviceConfig.ExecStart = ''
|
||||||
${pkgs.bash}/bin/bash -c "mkdir -p '${wallpaperDst}'; ${pkgs.rsync}/bin/rsync -av '${wallpaperSrc}/' '${wallpaperDst}/'"
|
${pkgs.bash}/bin/bash -c "
|
||||||
|
mkdir -p '${wallpaperDst}'
|
||||||
|
cp -r '${wallpaperSrc}/.' '${wallpaperDst}/'
|
||||||
|
"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
serviceConfig.Restart = "no";
|
serviceConfig.Restart = "no";
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ let
|
|||||||
wallpaperDst = "${homeDir}/Wallpapers";
|
wallpaperDst = "${homeDir}/Wallpapers";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [ bash rsync ];
|
environment.systemPackages = with pkgs; [ bash coreutils ];
|
||||||
|
|
||||||
systemd.user.services.copyWallpapers = {
|
systemd.user.services.copyWallpapers = {
|
||||||
description = "Copy wallpapers from repo to ~/Wallpapers";
|
description = "Copy wallpapers from repo to ~/Wallpapers";
|
||||||
@@ -17,7 +17,10 @@ in
|
|||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
|
|
||||||
serviceConfig.ExecStart = ''
|
serviceConfig.ExecStart = ''
|
||||||
${pkgs.bash}/bin/bash -c "mkdir -p '${wallpaperDst}'; ${pkgs.rsync}/bin/rsync -av '${wallpaperSrc}/' '${wallpaperDst}/'"
|
${pkgs.bash}/bin/bash -c "
|
||||||
|
mkdir -p '${wallpaperDst}'
|
||||||
|
cp -r '${wallpaperSrc}/.' '${wallpaperDst}/'
|
||||||
|
"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
serviceConfig.Restart = "no";
|
serviceConfig.Restart = "no";
|
||||||
|
|||||||
Reference in New Issue
Block a user