From 71b0244fb7219fa928f1ed064b91cb6e07fc2179 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 23 Sep 2023 21:30:52 +0200 Subject: [PATCH] hosts: *: fix typos remoteClient/Builder --- modules/hardware/remoteBuilder.nix | 3 +++ modules/hardware/remoteClient.nix | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/hardware/remoteBuilder.nix b/modules/hardware/remoteBuilder.nix index 13f1442..459fdd5 100644 --- a/modules/hardware/remoteBuilder.nix +++ b/modules/hardware/remoteBuilder.nix @@ -11,4 +11,7 @@ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILczsj4W1kFQaalFwaY+RJ4LEzNeFKD+itXB40Q2O59M nixremote@hades" ]; }; + nix.settings.trusted-users = [ + "nixremote" + ]; } diff --git a/modules/hardware/remoteClient.nix b/modules/hardware/remoteClient.nix index a45d91f..aba0bd1 100644 --- a/modules/hardware/remoteClient.nix +++ b/modules/hardware/remoteClient.nix @@ -8,17 +8,17 @@ hostName = "hades"; system = "x86_64-linux"; supportedFeatures = [ "kvm" "big-parallel" ]; - sshUser = "nixremote" + sshUser = "nixremote"; sshKey = config.age.secrets."keys/nixremote".path; maxJobs = 1; speedFactor = 8; publicHostKey = "c3NoLWVkMjU1MTkgQUFBQUMzTnphQzFsWkRJMU5URTVBQUFBSUVnbld5UVVVYSt2Y0hBS3g2ZWRiVGdxVzhwaCtNQ2lTNmZVd1lqWWNTK28gcm9vdEBoYWRlcwo=%"; protocol = "ssh-ng"; - ] }; + } ]; }; age.secrets."keys/nixremote" = { - file = ../../../secrets/keys/nixremote.age; + file = ../../secrets/keys/nixremote.age; owner = "root"; }; }