From fc4f2e97790531944ea3a5870a189c2c40e9bb5c Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Wed, 2 Apr 2025 15:30:02 +0200 Subject: [PATCH] fixadoodeededemegadoodoo --- hosts/ayanami/configuration.nix | 2 +- hosts/common/builder.nix | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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" ];