about summary refs log tree commit diff stats
path: root/flake
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-20 01:01:13 +0100
committerene <ene@sils.li>2023-02-20 01:01:13 +0100
commit7f26288284429e2f186d7dc61de716dbd36ef8c4 (patch)
tree6c34287b0d8d2e0ce0fcbd921bfd0fecd76a477e /flake
parentFix(bootstrap): Fix nasty grep bug (diff)
downloadnixos-config-7f26288284429e2f186d7dc61de716dbd36ef8c4.tar.gz
nixos-config-7f26288284429e2f186d7dc61de716dbd36ef8c4.zip
Feat(flake): Reorder hosts
Diffstat (limited to '')
-rw-r--r--flake.nix10
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];