Regenerated

This commit is contained in:
2026-03-26 14:58:53 +00:00
parent 3089455841
commit a9e3ac8454
2 changed files with 12 additions and 14 deletions
+6 -7
View File
@@ -735,9 +735,9 @@ in
# Packages
############################
environment.systemPackages = with pkgs; [
swww # For setting wallpapers
waypaper # Optional, if you use it
jq # Needed by the script
swww
waypaper
jq
];
############################
@@ -753,20 +753,19 @@ in
chown -R ${username}:${username} ${wallpaperDst}
chmod +x ${wallpaperDst}/set-wallpapers-per-workspace.sh
'';
install.wantedBy = [ "default.target" ];
enable = true;
};
############################
# Optional: Auto-run script at login
# Auto-run script at login
############################
# This assumes you want it to run for your user automatically
systemd.user.services.wallpaperPerWorkspace = {
description = "Set wallpapers per workspace on login";
after = [ "copyWallpapers.service" ];
wants = [ "copyWallpapers.service" ];
serviceConfig.Type = "oneshot";
serviceConfig.ExecStart = "${wallpaperDst}/set-wallpapers-per-workspace.sh";
install.wantedBy = [ "default.target" ];
enable = true;
};
}
#+END_SRC
@@ -11,9 +11,9 @@ in
# Packages
############################
environment.systemPackages = with pkgs; [
swww # For setting wallpapers
waypaper # Optional, if you use it
jq # Needed by the script
swww
waypaper
jq
];
############################
@@ -29,19 +29,18 @@ in
chown -R ${username}:${username} ${wallpaperDst}
chmod +x ${wallpaperDst}/set-wallpapers-per-workspace.sh
'';
install.wantedBy = [ "default.target" ];
enable = true;
};
############################
# Optional: Auto-run script at login
# Auto-run script at login
############################
# This assumes you want it to run for your user automatically
systemd.user.services.wallpaperPerWorkspace = {
description = "Set wallpapers per workspace on login";
after = [ "copyWallpapers.service" ];
wants = [ "copyWallpapers.service" ];
serviceConfig.Type = "oneshot";
serviceConfig.ExecStart = "${wallpaperDst}/set-wallpapers-per-workspace.sh";
install.wantedBy = [ "default.target" ];
enable = true;
};
}