This commit is contained in:
2025-08-16 12:29:48 +00:00
parent 0f5419c1dd
commit 8d4ea15585
5 changed files with 37 additions and 17 deletions

View File

@@ -6,7 +6,9 @@
user,
sops-nix,
...
}: {
}: let
setWallpaperScript = import ./libs/wallpaper.nix {inherit pkgs;};
in {
imports = [
../core.nix
../tailscale.nix
@@ -58,6 +60,13 @@
pkgs.callPackage ../packages.nix {}
++ pkgs.callPackage ./packages.nix {};
stateVersion = constants.stateVersions.homeManager;
activation = {
"setWallpaper" = lib.hm.dag.entryAfter ["revealHomeLibraryDirectory"] ''
echo "[+] Setting wallpaper"
${setWallpaperScript}/bin/set-wallpaper-script
'';
};
};
};
};