summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/vidhar/default.nix2
-rw-r--r--system-profiles/build-server/default.nix2
2 files changed, 3 insertions, 1 deletions
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix
index 836a85fa..ae0a8168 100644
--- a/hosts/vidhar/default.nix
+++ b/hosts/vidhar/default.nix
@@ -123,7 +123,7 @@
123 ''; 123 '';
124 }; 124 };
125 users.groups."ssh" = { 125 users.groups."ssh" = {
126 members = ["root" "nix-ssh-builder"]; 126 members = ["root"];
127 }; 127 };
128 128
129 security.sudo.extraConfig = '' 129 security.sudo.extraConfig = ''
diff --git a/system-profiles/build-server/default.nix b/system-profiles/build-server/default.nix
index d0bfaf10..9cb9e142 100644
--- a/system-profiles/build-server/default.nix
+++ b/system-profiles/build-server/default.nix
@@ -10,7 +10,9 @@
10 useDefaultShell = true; 10 useDefaultShell = true;
11 isSystemUser = true; 11 isSystemUser = true;
12 group = "nix-ssh-builder"; 12 group = "nix-ssh-builder";
13 extraGroups = [ "ssh" ];
13 }; 14 };
15 nix.trustedUsers = [ "nix-ssh-builder" ];
14 16
15 services.openssh = { 17 services.openssh = {
16 enable = true; 18 enable = true;