diff --git a/nixos/boxes/vpsfree1/default.nix b/nixos/boxes/vpsfree1/default.nix index 33103e57..05e1c966 100644 --- a/nixos/boxes/vpsfree1/default.nix +++ b/nixos/boxes/vpsfree1/default.nix @@ -26,5 +26,5 @@ boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; time.timeZone = "Europe/London"; - nix.buildCores = 7; + nix.settings.cores = 8; } diff --git a/nixos/boxes/vpsfree1/gitea.nix b/nixos/boxes/vpsfree1/gitea.nix index e3b370bb..c2309f90 100644 --- a/nixos/boxes/vpsfree1/gitea.nix +++ b/nixos/boxes/vpsfree1/gitea.nix @@ -48,9 +48,9 @@ in { inherit domain httpPort; enable = true; rootUrl = baseurl; - disableRegistration = true; stateDir = path; settings = { + service.DISABLE_REGISTRATION = true; server = { START_SSH_SERVER = true; SSH_PORT = sshPort; diff --git a/nixos/server-security.nix b/nixos/server-security.nix index 087e26de..554536da 100644 --- a/nixos/server-security.nix +++ b/nixos/server-security.nix @@ -26,5 +26,5 @@ in { openssh.authorizedKeys.keys = authorizedKeys; }; - nix.trustedUsers = [ "root" "nix-builder" ]; + nix.settings.trusted-users = [ "root" "nix-builder" ]; }