properly inherit enable on servers
This commit is contained in:
@@ -9,9 +9,9 @@ let
|
||||
in
|
||||
{
|
||||
options.my.servers.plex = setup.mkOptions "plex" "plex" 32400;
|
||||
config.services = {
|
||||
plex = lib.mkIf cfg.enable {
|
||||
enable = true;
|
||||
config.services = lib.mkIf (cfg.enable && config.my.secureHost) {
|
||||
plex = {
|
||||
inherit (cfg) enable;
|
||||
group = "piracy";
|
||||
};
|
||||
nginx = lib.mkIf cfg.enableProxy {
|
||||
|
||||
Reference in New Issue
Block a user