try not to use path type when it may not exist at build

This commit is contained in:
Richard Carter
2024-04-23 19:46:09 -04:00
parent 77b2a589ce
commit a3d0d94500
+2 -2
View File
@@ -63,7 +63,7 @@ in {
enable = true;
user = "usenet";
group = "media";
configFile = /. + "${cfg.stateDir}/sabnzbd.ini";
configFile = "${cfg.stateDir}/sabnzbd.ini";
};
networking.firewall.allowedTCPPorts = mkIf cfg.openFirewall [ defaultPort ];
@@ -106,4 +106,4 @@ in {
};
};
};
}
}