This commit is contained in:
Aubrey 2024-12-22 00:38:05 -06:00
parent 0dc1bf6c36
commit f473e2559f
No known key found for this signature in database

View file

@ -98,7 +98,7 @@
}; };
}; };
}; };
config = if config.services.smo-server.enable then { config = lib.mkIf config.services.smo-server.enable {
systemd.services.smo-server = with config.services.smo-server; { systemd.services.smo-server = with config.services.smo-server; {
wantedBy = ["multi-user.target"]; wantedBy = ["multi-user.target"];
after = ["network.target"]; after = ["network.target"];
@ -111,7 +111,7 @@
in ''${self.packages.${system}.default.outPath}/bin/smo-server -t ${tcpPort} -u ${udpPort}''; in ''${self.packages.${system}.default.outPath}/bin/smo-server -t ${tcpPort} -u ${udpPort}'';
}; };
}; };
} else {}; };
}; };
}; };
} }