properly inherit enable on servers
This commit is contained in:
@@ -5,8 +5,8 @@ let
|
||||
in
|
||||
{
|
||||
options.my.servers.microbin = setup.mkOptions "microbin" "copy" 8086;
|
||||
config.services.microbin = lib.mkIf cfg.enable {
|
||||
enable = true;
|
||||
config.services.microbin = lib.mkIf (cfg.enable && config.my.secureHost) {
|
||||
inherit (cfg) enable;
|
||||
settings = {
|
||||
MICROBIN_PORT = cfg.port;
|
||||
MICROBIN_HIDE_LOGO = false;
|
||||
|
||||
Reference in New Issue
Block a user