mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-04-01 09:40:55 +02: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.enable = mkEnableOption "activate nginx";
|
||||||
nginx.subdomain = mkOption {
|
nginx.subdomain = mkOption { type = types.str; };
|
||||||
type = types.str;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
config = mkIf cfg.enable (mkMerge [
|
||||||
|
{
|
||||||
config = mkIf cfg.enable (
|
|
||||||
mkMerge [{
|
|
||||||
services.sonarr = {
|
services.sonarr = {
|
||||||
enable = true;
|
enable = true;
|
||||||
inherit (cfg) user group;
|
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