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

@ -14,7 +14,7 @@ in
};
};
config = mkIf cfg.enable {
config = mkIf cfg.enable (recursiveUpdate {
users.users.drone = {
isNormalUser = true;
@ -93,5 +93,5 @@ in
path = [ pkgs.nixUnstable pkgs.git pkgs.openssh ];
};
} // mkSubdomain cfg.subdomain port;
} (mkSubdomain cfg.subdomain port));
}