1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-08-01 13:37:49 +00:00

Fix variable typo

This commit is contained in:
RGBCube 2024-01-02 16:13:18 +03:00
parent da59482348
commit 1c834be341
No known key found for this signature in database

View file

@ -35,7 +35,6 @@
outputs = { self, nixpkgs, tools, fenix, advisory-db, ... } @ inputs: tools.eachDefaultLinuxArch (system: let
lib = nixpkgs.lib;
pkgs = import nixpkgs { inherit system; };
toolchain = fenix.packages.${system}.complete.withComponents [
"cargo"
@ -140,7 +139,7 @@
serviceConfig = let
needsPrivilidges = cfg.port < 1024;
capabilities = [ "" ] ++ optionals needsPrivileges [ "CAP_NET_BIND_SERVICE" ];
capabilities = [ "" ] ++ optionals needsPrivilidges [ "CAP_NET_BIND_SERVICE" ];
rootDirectory = "/run/site";
in {
ExecStart = "${self.packages.${pkgs.system}.site}/bin/site --port ${cfg.port} --log-level ${cfg.logLevel}";