manual_inherit
This commit is contained in:
@@ -15,9 +15,8 @@ let
|
||||
description = "Cockpit web-based server management UI";
|
||||
moduleConfig = {
|
||||
services.cockpit = {
|
||||
inherit (cfg) port openFirewall;
|
||||
enable = true;
|
||||
port = cfg.port;
|
||||
openFirewall = cfg.openFirewall;
|
||||
allowed-origins = [
|
||||
"https://${net.hosts.nas.lan}:${toString cfg.port}"
|
||||
"https://${net.hosts.nas.hostname}:${toString cfg.port}"
|
||||
|
||||
Reference in New Issue
Block a user