mirror of
https://github.com/RGBCube/Site
synced 2025-08-01 21:47:46 +00:00
Fix int errors in flake again, add toString
This commit is contained in:
parent
47d02a6ae4
commit
658b1f63e6
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@
|
||||||
capabilities = [ "" ] ++ optionals needsPrivilidges [ "CAP_NET_BIND_SERVICE" ];
|
capabilities = [ "" ] ++ optionals needsPrivilidges [ "CAP_NET_BIND_SERVICE" ];
|
||||||
rootDirectory = "/run/site";
|
rootDirectory = "/run/site";
|
||||||
in {
|
in {
|
||||||
ExecStart = "${self.packages.${pkgs.system}.site}/bin/site --port ${cfg.port} --log-level ${cfg.logLevel}";
|
ExecStart = "${self.packages.${pkgs.system}.site}/bin/site --port ${toString cfg.port} --log-level ${cfg.logLevel}";
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
DynamicUser = true;
|
DynamicUser = true;
|
||||||
RootDirectory = rootDirectory;
|
RootDirectory = rootDirectory;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue