fix saned subnet ip

This commit is contained in:
Sam 2025-01-24 14:07:07 +00:00
parent b70ff19505
commit 55dac5b5c8
1 changed files with 2 additions and 2 deletions

View File

@ -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;