diff options
-rw-r--r-- | flake.nix | 8 | ||||
-rw-r--r-- | user/config.nix | 1 | ||||
-rw-r--r-- | user/prefect.nix | 1 |
3 files changed, 8 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix index 1e235810..5d97828d 100644 --- a/flake.nix +++ b/flake.nix @@ -18,6 +18,8 @@ darwinSystem = "x86_64-darwin"; # aarch64 is still failing on some compiler-rt derivation darwinPkgs = nixpkgs.legacyPackages.${darwinSystem}; + nixosSystem = "x86_64-linux"; + nixosPkgs = nixpkgs.legacyPackages.${nixosSystem}; in { nixosConfigurations.prefect = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; @@ -29,9 +31,13 @@ specialArgs = attrs; modules = [ ./system/mba.nix ]; }; - homeConfigurations.mba = home-manager.lib.homeManagerConfiguration { + homeConfigurations.mba= home-manager.lib.homeManagerConfiguration { pkgs = darwinPkgs; modules = [ ./user/mba.nix (secrets + "/default.nix") ]; }; + homeConfigurations.prefect= home-manager.lib.homeManagerConfiguration { + pkgs = nixosPkgs; + modules = [ ./user/prefect.nix (secrets + "/default.nix") ]; + }; }; } diff --git a/user/config.nix b/user/config.nix index 2a93c4b9..53c7c8e2 100644 --- a/user/config.nix +++ b/user/config.nix @@ -1,3 +1,4 @@ { pkgs }: { allowUnfree = true; + allowUnfreePredicate = (pkg: true); } diff --git a/user/prefect.nix b/user/prefect.nix index eb90a9f3..b00623bc 100644 --- a/user/prefect.nix +++ b/user/prefect.nix @@ -2,7 +2,6 @@ { imports = [ - ../private ./settings/base.nix ./settings/dunst.nix ./settings/emacs.nix |