23
modules/darwin/home/default.nix
Normal file
23
modules/darwin/home/default.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
constants,
|
||||
...
|
||||
}: let
|
||||
setWallpaperScript = import ../lib/wallpaper.nix {inherit pkgs;};
|
||||
in {
|
||||
imports = [
|
||||
./ghostty.nix
|
||||
];
|
||||
|
||||
home = {
|
||||
packages = pkgs.callPackage ../packages.nix {};
|
||||
activation = {
|
||||
"setWallpaper" = lib.hm.dag.entryAfter ["revealHomeLibraryDirectory"] ''
|
||||
echo "[+] Setting wallpaper"
|
||||
${setWallpaperScript}/bin/set-wallpaper-script
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user