This commit is contained in:
2025-12-11 20:16:13 +00:00
parent 07c39081bb
commit 49c530047a

View File

@@ -12,12 +12,13 @@ in {
home = { home = {
packages = pkgs.callPackage ./packages.nix {inherit inputs;}; packages = pkgs.callPackage ./packages.nix {inherit inputs;};
stateVersion = constants.stateVersions.homeManager; stateVersion = constants.stateVersions.homeManager;
activation = lib.mkIf pkgs.stdenv.isDarwin { activation =
"setWallpaper" = lib.mkIf pkgs.stdenv.isDarwin {
lib.hm.dag.entryAfter ["revealHomeLibraryDirectory"] '' "setWallpaper" =
echo "[+] Setting wallpaper" lib.hm.dag.entryAfter ["revealHomeLibraryDirectory"] ''
${setWallpaperScript}/bin/set-wallpaper-script echo "[+] Setting wallpaper"
''; ${setWallpaperScript}/bin/set-wallpaper-script
}; '';
};
}; };
} }