diff options
Diffstat (limited to 'application')
| -rw-r--r-- | application/module.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/module.nix b/application/module.nix index 238ec5e..5f07245 100644 --- a/application/module.nix +++ b/application/module.nix @@ -47,7 +47,7 @@ in }; config = mkIf cfg.enable { - networking.firewall.allowedTCPPorts = mkIf cfg.openFirewall cfg.port; + networking.firewall.allowedTCPPorts = mkIf cfg.openFirewall [ cfg.port ]; systemd.services.specimen = { description = "specimen application service"; @@ -59,7 +59,7 @@ in DynamicUser = true; Type = "exec"; Restart = "always"; - ExecStart = "${cfg.package}/bin/specimen -address ${cfg.listenAddress} -port ${cfg.port} -name ${cfg.namePath}"; + ExecStart = "${cfg.package}/bin/specimen -address ${cfg.listenAddress} -port ${toString cfg.port} -name ${cfg.namePath}"; }; }; }; |
