summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rwxr-xr-xflake.nix204
1 files changed, 106 insertions, 98 deletions
diff --git a/flake.nix b/flake.nix
index 0f2e89a..f72ff9c 100755
--- a/flake.nix
+++ b/flake.nix
@@ -45,115 +45,123 @@
     };
   };
 
-  outputs = inputs: with inputs; {
-    nixosConfigurations = {
-      #NIXPKGS FORK
-      Rory-nginx = nixpkgs-rory.lib.nixosSystem {
-        system = "x86_64-linux";
-        modules = [
-          ./host/Rory-nginx/configuration.nix
-          ./hardware-configuration.nix
-          home-manager.nixosModules.home-manager
-          grapevine.nixosModules.default
-        ];
-        specialArgs = {
-          inherit botcore-v4;
-          inherit home-manager;
-          inherit grapevine;
-          inherit conduit;
-          #inherit conduwuit;
+  outputs =
+    inputs: with inputs; {
+      nixosConfigurations = {
+        #NIXPKGS FORK
+        Rory-nginx = nixpkgs-rory.lib.nixosSystem {
+          system = "x86_64-linux";
+          modules = [
+            ./host/Rory-nginx/configuration.nix
+            ./hardware-configuration.nix
+            home-manager.nixosModules.home-manager
+            grapevine.nixosModules.default
+          ];
+          specialArgs = {
+            inherit botcore-v4;
+            inherit home-manager;
+            inherit grapevine;
+            inherit conduit;
+            #inherit conduwuit;
+          };
         };
-      };
 
-      #UNSTABLE
-      Rory-devenv = nixpkgs.lib.nixosSystem {
-        system = "x86_64-linux";
-        modules = [
-          ./host/Rory-devenv/configuration.nix
-          ./hardware-configuration.nix
-          home-manager.nixosModules.home-manager
-        ];
-        specialArgs = {
-          inherit home-manager;
+        #UNSTABLE
+        Rory-devenv = nixpkgs.lib.nixosSystem {
+          system = "x86_64-linux";
+          modules = [
+            ./host/Rory-devenv/configuration.nix
+            ./hardware-configuration.nix
+            home-manager.nixosModules.home-manager
+          ];
+          specialArgs = {
+            inherit home-manager;
+          };
         };
-      };
 
-      Rory-desktop = nixpkgs.lib.nixosSystem {
-        system = "x86_64-linux";
-        modules = [
-          ./host/Rory-desktop/configuration.nix
-          ./hardware-configuration.nix
-          home-manager.nixosModules.home-manager
-          sops-nix.nixosModules.sops
-          ({...}: { 
-            nix = {
-              registry.nixpkgs.flake = nixpkgs;
-              nixPath = [
-                "nixpkgs=${nixpkgs.outPath}"
-              ];
-            };
-          })
-        ];
-        specialArgs = {
-          inherit home-manager;
-          inherit (inputs) mtxclientSrc;
-          inherit (inputs) nhekoSrc;
+        Rory-desktop = nixpkgs.lib.nixosSystem {
+          system = "x86_64-linux";
+          modules = [
+            ./host/Rory-desktop/configuration.nix
+            ./hardware-configuration.nix
+            home-manager.nixosModules.home-manager
+            sops-nix.nixosModules.sops
+            (
+              { ... }:
+              {
+                nix = {
+                  registry.nixpkgs.flake = nixpkgs;
+                  nixPath = [ "nixpkgs=${nixpkgs.outPath}" ];
+                };
+              }
+            )
+          ];
+          specialArgs = {
+            inherit home-manager;
+            inherit (inputs) mtxclientSrc;
+            inherit (inputs) nhekoSrc;
+          };
         };
-      };
 
-      Rory-portable = nixpkgs.lib.nixosSystem {
-        system = "x86_64-linux";
-        modules = [
-          ./host/Rory-portable/configuration.nix
-          ./hardware-configuration.nix
-          home-manager.nixosModules.home-manager
-          ({...}: { 
-            nix = {
-              registry.nixpkgs.flake = nixpkgs;
-              nixPath = [
-                "nixpkgs=${nixpkgs.outPath}"
-              ];
-            };
-          })
-          # ... add this line to the rest of your configuration modules
-          #nix-ld.nixosModules.nix-ld
+        Rory-portable = nixpkgs.lib.nixosSystem {
+          system = "x86_64-linux";
+          modules = [
+            ./host/Rory-portable/configuration.nix
+            ./hardware-configuration.nix
+            home-manager.nixosModules.home-manager
+            (
+              { ... }:
+              {
+                nix = {
+                  registry.nixpkgs.flake = nixpkgs;
+                  nixPath = [ "nixpkgs=${nixpkgs.outPath}" ];
+                };
+              }
+            )
+            # ... add this line to the rest of your configuration modules
+            #nix-ld.nixosModules.nix-ld
 
-          # The module in this repository defines a new module under (programs.nix-ld.dev) instead of (programs.nix-ld) 
-          # to not collide with the nixpkgs version.
-          #{ programs.nix-ld.dev.enable = true; }
-        ];
-        specialArgs = {
-          inherit home-manager;
-          inherit (inputs) mtxclientSrc;
-          inherit (inputs) nhekoSrc;
+            # The module in this repository defines a new module under (programs.nix-ld.dev) instead of (programs.nix-ld) 
+            # to not collide with the nixpkgs version.
+            #{ programs.nix-ld.dev.enable = true; }
+          ];
+          specialArgs = {
+            inherit home-manager;
+            inherit (inputs) mtxclientSrc;
+            inherit (inputs) nhekoSrc;
+          };
         };
-      };
 
-      #STABLE
-      RoryNix = nixpkgs-RoryNix.lib.nixosSystem {
-        system = "i686-linux";
-        modules = [
-          ./host/RoryNix/configuration.nix
-          ./hardware-configuration.nix
-          ({...}: { nix.registry.nixpkgs.flake = nixpkgs-RoryNix; })
-        ];
-      };
+        #STABLE
+        RoryNix = nixpkgs-RoryNix.lib.nixosSystem {
+          system = "i686-linux";
+          modules = [
+            ./host/RoryNix/configuration.nix
+            ./hardware-configuration.nix
+            (
+              { ... }:
+              {
+                nix.registry.nixpkgs.flake = nixpkgs-RoryNix;
+              }
+            )
+          ];
+        };
 
-      #WSL
-      Rory-wsl = nixpkgs.lib.nixosSystem {
-        system = "x86_64-linux";
-        modules = [
-          nixos-wsl.nixosModules.default
-          ./host/Rory-wsl/configuration.nix
-#          ./hardware-configuration.nix
-	        home-manager.nixosModules.home-manager
-          #nur.nixosModules.nur
-        ];
-        specialArgs = {
-          inherit (inputs) mtxclientSrc;
-          inherit (inputs) nhekoSrc;
+        #WSL
+        Rory-wsl = nixpkgs.lib.nixosSystem {
+          system = "x86_64-linux";
+          modules = [
+            nixos-wsl.nixosModules.default
+            ./host/Rory-wsl/configuration.nix
+            #          ./hardware-configuration.nix
+            home-manager.nixosModules.home-manager
+            #nur.nixosModules.nur
+          ];
+          specialArgs = {
+            inherit (inputs) mtxclientSrc;
+            inherit (inputs) nhekoSrc;
+          };
         };
       };
     };
-  };
 }