fix nixosConfig override

This commit is contained in:
Daniel Olsen 2023-05-23 04:43:39 +02:00
parent dfd827ee74
commit 2752c26675
1 changed files with 9 additions and 3 deletions

View File

@ -21,7 +21,6 @@
in {
nixosConfigurations = let
nixosConfig = name: config: nixpkgs.lib.nixosSystem (nixpkgs.lib.recursiveUpdate
config
rec {
system = "x86_64-linux";
specialArgs = {
@ -32,11 +31,18 @@
./hosts/${name}/configuration.nix
sops-nix.nixosModules.sops
];
});
}
config
);
in {
bicep = nixosConfig "bicep" {
modules = [ matrix-next.nixosModules.synapse ];
modules = [
./hosts/bicep/configuration.nix
sops-nix.nixosModules.sops
matrix-next.nixosModules.synapse
];
};
bekkalokk = nixosConfig "bekkalokk" { };
greddost = nixosConfig "greddost" { };