diff options
author | Alan Pearce | 2022-10-12 09:28:30 +0200 |
---|---|---|
committer | Alan Pearce | 2022-10-12 09:28:30 +0200 |
commit | 628ecc905b8f61033263d678fa43f9a68c9956e0 (patch) | |
tree | bc7cb04e73efbc0c20d856c2cfeb1001bdf4c8dd | |
parent | 017d0672aaa6ff6d05f5bce4f7f7bdc19f679b26 (diff) | |
download | nixfiles-628ecc905b8f61033263d678fa43f9a68c9956e0.tar.lz nixfiles-628ecc905b8f61033263d678fa43f9a68c9956e0.tar.zst nixfiles-628ecc905b8f61033263d678fa43f9a68c9956e0.zip |
Configure home-manager via flakes on prefect
-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 |