Files
nixos-config/modules/home/darwin/default.nix
2025-08-16 14:46:16 +02:00

24 lines
461 B
Nix

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