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