summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-04-04 17:32:36 +0200
committerRory& <root@rory.gay>2024-06-05 17:25:16 +0200
commit4cf3f4734cd5d6adc1a31ef9099d377bcfe8c3a5 (patch)
treee0889a1f8da48bb5f1545e956dcffffcbfa5c5b9
parentAdd monitoring with prometheus (diff)
downloadSpacebar-Open-Infrastructure-4cf3f4734cd5d6adc1a31ef9099d377bcfe8c3a5.tar.xz
Forgot to add system config
-rwxr-xr-xflake.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index eb72f43..690dca1 100755
--- a/flake.nix
+++ b/flake.nix
@@ -51,7 +51,19 @@
           inherit home-manager;
           secrets = import secrets { inherit (nixpkgs) lib; };
         };
-      };     
+      };
+      Spacebar-monitoring = nixpkgs.lib.nixosSystem {
+        system = "x86_64-linux";
+        modules = [
+          ./host/Spacebar-monitoring/configuration.nix
+          ./hardware-configuration.nix
+          home-manager.nixosModules.home-manager
+        ];
+        specialArgs = {
+          inherit home-manager;
+          secrets = import secrets { inherit (nixpkgs) lib; };
+        };
+      };
     };
   };
 }