{ description = "Spacebar's services"; inputs = { 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"; }; #moreinputs }; outputs = { self, nixpkgs, home-manager, secrets, Rory-Open-Architecture, spacebarchat-server-master }: { nixosConfigurations = { Spacebar-nginx = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ ./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; inherit spacebarchat-server-master; #morespecialargs secrets = import secrets { inherit (nixpkgs) lib; }; }; }; Spacebar-synapse = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ ./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; secrets = import secrets { inherit (nixpkgs) lib; }; }; }; Spacebar-postgres = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ ./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; 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 ({ config, ... }: { programs.dconf.enable = true; }) # Fix for home-manager failing to deploy (Rory-Open-Architecture + "/modules/users/Rory.nix") ]; specialArgs = { inherit home-manager; secrets = import secrets { inherit (nixpkgs) lib; }; }; }; }; }; }