mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-25 21:30:52 +01:00
chore: reformat sonarr
This commit is contained in:
parent
0252d2c28c
commit
6a7c0d54e9
1 changed files with 5 additions and 11 deletions
|
@ -23,23 +23,17 @@ in
|
|||
};
|
||||
|
||||
nginx.enable = mkEnableOption "activate nginx";
|
||||
nginx.subdomain = mkOption {
|
||||
type = types.str;
|
||||
};
|
||||
|
||||
nginx.subdomain = mkOption { type = types.str; };
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable (
|
||||
mkMerge [{
|
||||
config = mkIf cfg.enable (mkMerge [
|
||||
{
|
||||
services.sonarr = {
|
||||
enable = true;
|
||||
inherit (cfg) user group;
|
||||
};
|
||||
}
|
||||
|
||||
(mkIf cfg.nginx.enable (mkVPNSubdomain cfg.nginx.subdomain port))]);
|
||||
|
||||
|
||||
|
||||
|
||||
(mkIf cfg.nginx.enable (mkVPNSubdomain cfg.nginx.subdomain port))
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue