fix saned subnet ip
This commit is contained in:
parent
b70ff19505
commit
55dac5b5c8
|
@ -1,5 +1,5 @@
|
|||
{pkgs, configVars, ...}: let
|
||||
gatewayIp = configVars.networking.addresses.gateway.ip;
|
||||
subnetIp = configVars.networking.addresses.subnet.ip;
|
||||
in {
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [631];
|
||||
|
@ -11,7 +11,7 @@ in {
|
|||
ipp-usb.enable = true;
|
||||
saned = {
|
||||
enable = true;
|
||||
extraConfig = "${gatewayIp}/24";
|
||||
extraConfig = "${subnetIp}/24";
|
||||
};
|
||||
printing = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in New Issue