minor code cleaning

This commit is contained in:
Luj 2024-03-30 20:58:04 +01:00
parent fe8bd69ebe
commit 44b3f14d48
Signed by: luj
GPG key ID: 6FC74C847011FD83
9 changed files with 32 additions and 74 deletions

View file

@ -39,8 +39,7 @@ in
services.transmission = {
enable = true;
inherit (cfg) user;
inherit (cfg) group;
inherit (cfg) user group;
credentialsFile = "/run/secrets/transmission";
downloadDirPermissions = "770";
settings = {
@ -52,7 +51,7 @@ in
};
}
(mkIf cfg.nginx.enable (mkSubdomain cfg.nginx.subdomain port) )]);
(mkIf cfg.nginx.enable (mkSubdomain cfg.nginx.subdomain port))]);