net
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
let
|
||||
name = "cockpit";
|
||||
cfg = config.${namespace}.services.${name};
|
||||
net = lib.${namespace}.network;
|
||||
|
||||
cockpitConfig = lib.${namespace}.mkModule {
|
||||
inherit config name;
|
||||
@@ -18,9 +19,9 @@ let
|
||||
port = cfg.port;
|
||||
openFirewall = cfg.openFirewall;
|
||||
allowed-origins = [
|
||||
"https://10.0.1.3:${toString cfg.port}"
|
||||
"https://jallen-nas:${toString cfg.port}"
|
||||
"https://jallen-nas.local:${toString cfg.port}"
|
||||
"https://${net.hosts.nas.lan}:${toString cfg.port}"
|
||||
"https://${net.hosts.nas.hostname}:${toString cfg.port}"
|
||||
"https://${net.hosts.nas.hostname}.local:${toString cfg.port}"
|
||||
];
|
||||
plugins = with pkgs.${namespace}; [
|
||||
# cockpit-benchmark
|
||||
|
||||
Reference in New Issue
Block a user