diff --git a/hosts/ayanami/configuration.nix b/hosts/ayanami/configuration.nix index 63582c5..cea4b39 100644 --- a/hosts/ayanami/configuration.nix +++ b/hosts/ayanami/configuration.nix @@ -205,7 +205,7 @@ nix.settings.trusted-users = [ "daniel" ]; nix.buildMachines = [ - { hostname = "soryu"; + { hostName = "soryu"; system = "x86_64-linux"; maxJobs = 16; supportedFeatures = [ "big-parallel" ]; diff --git a/hosts/common/builder.nix b/hosts/common/builder.nix index bd87491..cf1e0ec 100644 --- a/hosts/common/builder.nix +++ b/hosts/common/builder.nix @@ -2,6 +2,7 @@ { users.users.nixbuilder = { + group = "nixbuilder"; isSystemUser = true; useDefaultShell = true; openssh.authorizedKeys.keys = [ @@ -9,6 +10,8 @@ ]; }; + users.groups.nixbuilder = {}; + nix.settings.trusted-users = [ "nixbuilder" ]; boot.binfmt.emulatedSystems = [ "aarch64-linux" ];