summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-10-02 12:13:50 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2021-10-02 12:13:50 +0200
commit5559b1ac3f85301d1cade57c1a08069feeca8f7c (patch)
tree6454e4df70ee9f47dd6ded3f6e68e33eeca40f24
parent455732af3e4b225a7c0edb50a13d00a5e4ba9ef7 (diff)
downloadnixos-5559b1ac3f85301d1cade57c1a08069feeca8f7c.tar
nixos-5559b1ac3f85301d1cade57c1a08069feeca8f7c.tar.gz
nixos-5559b1ac3f85301d1cade57c1a08069feeca8f7c.tar.bz2
nixos-5559b1ac3f85301d1cade57c1a08069feeca8f7c.tar.xz
nixos-5559b1ac3f85301d1cade57c1a08069feeca8f7c.zip
build-server: ...
-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;