Fixed my knowledge about attribute set merging

This commit is contained in:
Julien Malka 2021-12-29 18:20:42 +01:00
parent be4fce11f4
commit 698ddcc02a
No known key found for this signature in database
GPG key ID: 3C68E13964FEA07F
5 changed files with 12 additions and 9 deletions

View file

@ -13,7 +13,7 @@ with lib;
};
config = mkIf cfg.enable
config = mkIf cfg.enable (recursiveUpdate
{
users.users.nix-serve = {
isSystemUser = true;
@ -32,5 +32,5 @@ with lib;
port = port;
};
} // mkSubdomain cfg.subdomain port;
} (mkSubdomain cfg.subdomain port));
}