This commit is contained in:
2025-12-11 19:36:56 +00:00
parent 125cd86adf
commit b85728470c
55 changed files with 96 additions and 33 deletions

22
modules/darwin-home.nix Normal file
View File

@@ -0,0 +1,22 @@
{
pkgs,
lib,
...
}: let
setWallpaperScript = import ./darwin-wallpaper.nix {inherit pkgs;};
in {
imports = [
./darwin-ghostty.nix
];
home = {
packages = pkgs.callPackage ./darwin-packages.nix {};
activation = {
"setWallpaper" =
lib.hm.dag.entryAfter ["revealHomeLibraryDirectory"] ''
echo "[+] Setting wallpaper"
${setWallpaperScript}/bin/set-wallpaper-script
'';
};
};
}