diff --git a/flake.nix b/flake.nix index 08597bf..26b3760 100644 --- a/flake.nix +++ b/flake.nix @@ -39,6 +39,7 @@ slartibartfast = libx.mkDarwin { hostname = "slartibartfast"; }; nauvis = libx.mkDarwin { hostname = "nauvis"; }; mac-studio = libx.mkDarwin { hostname = "mac-studio"; }; + mac-mini = libx.mkDarwin { hostname = "mac-mini"; }; mooncake = libx.mkDarwin { hostname = "mooncake"; }; # work @@ -65,7 +66,6 @@ # wd morphnix = import ./hosts/nixos/morphnix; - nix-app = import ./hosts/nixos/nix-app; nix-nvllama = import ./hosts/nixos/nix-nvllama; #desktop = import ./hosts/nixos/desktop; diff --git a/hosts/darwin/mac-mini/custom-dock.nix b/hosts/darwin/mac-mini/custom-dock.nix new file mode 100644 index 0000000..557179e --- /dev/null +++ b/hosts/darwin/mac-mini/custom-dock.nix @@ -0,0 +1,9 @@ +{ config, ... }: +{ + system.defaults.dock = { + persistent-apps = [ + "/Applications/Google Chrome.app" + "/Applications/Ghostty.app" + ]; + }; +} \ No newline at end of file diff --git a/hosts/darwin/mac-mini/default.nix b/hosts/darwin/mac-mini/default.nix new file mode 100644 index 0000000..db3806d --- /dev/null +++ b/hosts/darwin/mac-mini/default.nix @@ -0,0 +1,6 @@ +{ ... }: +{ + imports = [ + ./custom-dock.nix + ]; +} \ No newline at end of file