grzegorz: use values.nix
This commit is contained in:
parent
decd69d9ae
commit
6e78a28bec
@ -1,4 +1,4 @@
|
||||
{config, lib, pkgs, ...}:
|
||||
{config, lib, pkgs, values, ...}:
|
||||
let
|
||||
grg = config.services.greg-ng;
|
||||
grgw = config.services.grzegorz-webui;
|
||||
@ -37,8 +37,8 @@ in {
|
||||
"${machine}.pvv.org"
|
||||
];
|
||||
extraConfig = ''
|
||||
allow 129.241.210.128/25;
|
||||
allow 2001:700:300:1900::/64;
|
||||
allow ${values.ipv4-space}
|
||||
allow ${values.ipv6-space}
|
||||
deny all;
|
||||
'';
|
||||
};
|
||||
@ -51,8 +51,8 @@ in {
|
||||
"${machine}-backend.pvv.org"
|
||||
];
|
||||
extraConfig = ''
|
||||
allow 129.241.210.128/25;
|
||||
allow 2001:700:300:1900::/64;
|
||||
allow ${values.ipv4-space}
|
||||
allow ${values.ipv6-space}
|
||||
deny all;
|
||||
'';
|
||||
|
||||
@ -70,8 +70,8 @@ in {
|
||||
"${machine}-old.pvv.org"
|
||||
];
|
||||
extraConfig = ''
|
||||
allow 129.241.210.128/25;
|
||||
allow 2001:700:300:1900::/64;
|
||||
allow ${values.ipv4-space}
|
||||
allow ${values.ipv6-space}
|
||||
deny all;
|
||||
'';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user