treewide: fix statix errors

This commit is contained in:
Felix Buehler 2023-11-07 23:13:51 +01:00
parent a4b8c2b8da
commit 743d7eead9
48 changed files with 72 additions and 82 deletions

View file

@ -250,8 +250,8 @@ in
virtualHosts =
let
genAttrs' = values: f: lib.listToAttrs (map f values);
domain = config.networking.domain;
mkVHost = ({ subdomain, ... } @ args: lib.nameValuePair
inherit (config.networking) domain;
mkVHost = { subdomain, ... } @ args: lib.nameValuePair
"${subdomain}.${domain}"
(lib.foldl lib.recursiveUpdate { } [
# Base configuration
@ -309,7 +309,7 @@ in
};
})
])
);
;
in
genAttrs' cfg.virtualHosts mkVHost;
sso = {
@ -396,7 +396,7 @@ in
# Use DNS wildcard certificate
certs =
let
domain = config.networking.domain;
inherit (config.networking) domain;
in
with pkgs;
{