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 /flake.nix | |
parent | 017d0672aaa6ff6d05f5bce4f7f7bdc19f679b26 (diff) | |
download | nixfiles-628ecc905b8f61033263d678fa43f9a68c9956e0.tar.lz nixfiles-628ecc905b8f61033263d678fa43f9a68c9956e0.tar.zst nixfiles-628ecc905b8f61033263d678fa43f9a68c9956e0.zip |
Configure home-manager via flakes on prefect
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 8 |
1 files changed, 7 insertions, 1 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") ]; + }; }; } |