{ 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.spacebar.local/"; flake = false; }; }; outputs = { self, nixpkgs, home-manager }: { nixosConfigurations = { Spacebar-nginx = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ ./host/Spacebar-nginx/configuration.nix ./hardware-configuration.nix home-manager.nixosModules.home-manager ]; specialArgs = { inherit home-manager; }; }; Spacebar-synapse = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ ./host/Spacebar-synapse/configuration.nix ./hardware-configuration.nix home-manager.nixosModules.home-manager ]; specialArgs = { inherit home-manager; }; }; Spacebar-postgres = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ ./host/Spacebar-postgres/configuration.nix ./hardware-configuration.nix home-manager.nixosModules.home-manager ]; specialArgs = { inherit home-manager; }; }; }; }; }