diff options
Diffstat (limited to '')
-rw-r--r-- | flake.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix index b01ed4de..d8c94ad7 100644 --- a/flake.nix +++ b/flake.nix @@ -54,9 +54,9 @@ ... } @ inputs: let pkgs = nixpkgs.legacyPackages.x86_64-linux; + sysLib = import ./lib {inherit pkgs shell-library;}; in { - nixosConfigurations.Tiamat = let - sysLib = import ./lib {inherit pkgs shell-library;}; + nixosConfigurations.tiamat = let system = "x86_64-linux"; in nixpkgs.lib.nixosSystem { @@ -65,7 +65,7 @@ pkgs.lib.recursiveUpdate inputs sysLib; modules = [ - ./hosts/desktop/configuration.nix + ./hosts/tiamat/configuration.nix agenix.nixosModules.default home-manager.nixosModules.home-manager @@ -89,7 +89,9 @@ } ]; }; - nixosConfigurations.Spawn = nixpkgs.lib.nixosSystem { + + nixosConfigurations.mammun = self.outputs.nixosConfigurations.tiamat; + nixosConfigurations.spawn = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = inputs; modules = [./hosts/spawn/configuration.nix]; |