summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rwxr-xr-xflake.nix23
1 files changed, 21 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index b9c36ee..efd62bc 100755
--- a/flake.nix
+++ b/flake.nix
@@ -5,14 +5,21 @@
     nixpkgs = {
       url = "github:NixOS/nixpkgs/nixos-unstable";
     };
+    
     home-manager = {
       url = "github:nix-community/home-manager/master";
     };
+    
     secrets = {
       url = "git+http://secrets.internal.spacebar.chat/";
       flake = false;
     };
 
+    Rory-Open-Architecture = { # Rory user
+      url = "git+https://cgit.rory.gay/Rory-Open-Architecture.git";
+      flake = false;
+    };
+
     spacebarchat-server-master = {
       url = "github:spacebarchat/server/master";
     };
@@ -20,7 +27,7 @@
     #moreinputs
   };
 
-  outputs = { self, nixpkgs, home-manager, secrets, spacebarchat-server-master }: {
+  outputs = { self, nixpkgs, home-manager, secrets, Rory-Open-Architecture, spacebarchat-server-master }: {
     nixosConfigurations = {
       Spacebar-nginx = nixpkgs.lib.nixosSystem {
         system = "x86_64-linux";
@@ -28,6 +35,9 @@
           ./host/Spacebar-nginx/configuration.nix
           ./hardware-configuration.nix
           home-manager.nixosModules.home-manager
+
+          ({ config, ... }: { programs.dconf.enable = true; }) # Fix for home-manager failing to deploy
+          (Rory-Open-Architecture + "/modules/users/Rory.nix")
         ];
         specialArgs = {
           inherit home-manager;
@@ -42,6 +52,9 @@
           ./host/Spacebar-synapse/configuration.nix
           ./hardware-configuration.nix
           home-manager.nixosModules.home-manager
+
+          ({ config, ... }: { programs.dconf.enable = true; }) # Fix for home-manager failing to deploy
+          (Rory-Open-Architecture + "/modules/users/Rory.nix")
         ];
         specialArgs = {
           inherit home-manager;
@@ -54,6 +67,9 @@
           ./host/Spacebar-postgres/configuration.nix
           ./hardware-configuration.nix
           home-manager.nixosModules.home-manager
+
+          ({ config, ... }: { programs.dconf.enable = true; }) # Fix for home-manager failing to deploy
+          (Rory-Open-Architecture + "/modules/users/Rory.nix")
         ];
         specialArgs = {
           inherit home-manager;
@@ -66,6 +82,9 @@
           ./host/Spacebar-monitoring/configuration.nix
           ./hardware-configuration.nix
           home-manager.nixosModules.home-manager
+
+          ({ config, ... }: { programs.dconf.enable = true; }) # Fix for home-manager failing to deploy
+          (Rory-Open-Architecture + "/modules/users/Rory.nix")
         ];
         specialArgs = {
           inherit home-manager;
@@ -74,4 +93,4 @@
       };
     };
   };
-}
+}
\ No newline at end of file