mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2025-04-04 05:01:21 +02:00
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
|
let
|
||||||
grg = config.services.greg-ng;
|
grg = config.services.greg-ng;
|
||||||
grgw = config.services.grzegorz-webui;
|
grgw = config.services.grzegorz-webui;
|
||||||
@ -37,8 +37,8 @@ in {
|
|||||||
"${machine}.pvv.org"
|
"${machine}.pvv.org"
|
||||||
];
|
];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
allow 129.241.210.128/25;
|
allow ${values.ipv4-space}
|
||||||
allow 2001:700:300:1900::/64;
|
allow ${values.ipv6-space}
|
||||||
deny all;
|
deny all;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
@ -51,8 +51,8 @@ in {
|
|||||||
"${machine}-backend.pvv.org"
|
"${machine}-backend.pvv.org"
|
||||||
];
|
];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
allow 129.241.210.128/25;
|
allow ${values.ipv4-space}
|
||||||
allow 2001:700:300:1900::/64;
|
allow ${values.ipv6-space}
|
||||||
deny all;
|
deny all;
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -70,8 +70,8 @@ in {
|
|||||||
"${machine}-old.pvv.org"
|
"${machine}-old.pvv.org"
|
||||||
];
|
];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
allow 129.241.210.128/25;
|
allow ${values.ipv4-space}
|
||||||
allow 2001:700:300:1900::/64;
|
allow ${values.ipv6-space}
|
||||||
deny all;
|
deny all;
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user