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