Fixed upnp

This commit is contained in:
rasmus-kirk
2025-10-29 09:15:54 +01:00
parent 9f1b809818
commit 9ae6966ded
3 changed files with 20 additions and 6 deletions
+2 -2
View File
@@ -77,7 +77,7 @@ in {
);
};
in
mkIf cfg.upnp.enable {
mkIf cfg.enable {
enable = true;
description = "Sets port on router";
script = "${upnp-ports}/bin/upnp-ports";
@@ -89,7 +89,7 @@ in {
};
timers = {
upnpc = mkIf cfg.upnp.enable {
upnpc = mkIf cfg.enable {
description = "Sets port on router";
wantedBy = ["timers.target"];