Add wallpaper switch

This commit is contained in:
Alexander
2026-07-03 19:14:45 +02:00
parent 6f2598ef52
commit 873bec97fc
6 changed files with 306 additions and 30 deletions
+4 -8
View File
@@ -70,7 +70,10 @@
notification.mako.enable = true;
dynamic-theme.enable = true;
dynamic-theme = {
enable = true;
wallpaperRepo = "https://gitea.susano-homelab.duckdns.org/fujin/gruvbox-wallpapers.git";
};
};
programs = {
@@ -88,13 +91,6 @@
directory = ["/home/${username}/nixos-dotfiles" "/home/${username}/.cache/nix"];
};
};
hooks = {
commit-msg = pkgs.writeScript "commit-msg" ''
#!${pkgs.bash}/bin/bash
# Remove Co-Authored-by lines from commit messages (Claude likes to add these)
${pkgs.gnused}/bin/sed -i '/^Co-[Aa]uthored-[Bb]y:/d' "$1"
'';
};
};
};