diff --git a/flake.nix b/flake.nix index 2dad1c3..91dc15c 100644 --- a/flake.nix +++ b/flake.nix @@ -87,6 +87,7 @@ ./home-modules ./users/user/home.nix ]; + lumpiastyHome.macos = true; }; nixpkgs.overlays = [ inputs.claude-code.overlays.default diff --git a/home-modules/default.nix b/home-modules/default.nix index 6ec1b46..c28442e 100644 --- a/home-modules/default.nix +++ b/home-modules/default.nix @@ -8,6 +8,7 @@ ./gaming.nix ./fhsBash.nix ./linux.nix + ./macos.nix ] ++ lib.optionals (osConfig.lumpiasty.enablePlasma) [ ./plasma.nix ]; diff --git a/home-modules/macos.nix b/home-modules/macos.nix new file mode 100644 index 0000000..edea98f --- /dev/null +++ b/home-modules/macos.nix @@ -0,0 +1,10 @@ +{ config, lib, pkgs, osConfig, ... }: + +{ + options.lumpiastyHome.macos = lib.mkEnableOption "Macos specific things"; + + config = lib.mkIf config.lumpiastyHome.macos { + targets.darwin.copyApps.enable = true; + targets.darwin.linkApps.enable = false; + }; +} \ No newline at end of file