summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/remote-build
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2021-06-05 15:52:06 +0200
committermakefu <github@syntax-fehler.de>2021-06-05 15:52:06 +0200
commite097e3c577ea4a83e508b3aa2a37dc86b8295131 (patch)
tree5bc6d3e3d09bec4010d95266ac9455b292162ec5 /makefu/2configs/remote-build
parentf07ec9d9f0980c7523c397ef7c71d6f0c479f74b (diff)
ma treewide: make 21.05 compatible (is*User, other fixes)
Diffstat (limited to 'makefu/2configs/remote-build')
-rw-r--r--makefu/2configs/remote-build/slave.nix15
1 files changed, 8 insertions, 7 deletions
diff --git a/makefu/2configs/remote-build/slave.nix b/makefu/2configs/remote-build/slave.nix
index 0227f512a..039698f1d 100644
--- a/makefu/2configs/remote-build/slave.nix
+++ b/makefu/2configs/remote-build/slave.nix
@@ -1,11 +1,12 @@
{config,...}:{
nix.trustedUsers = [ "nixBuild" ];
users.users.nixBuild = {
- name = "nixBuild";
- useDefaultShell = true;
- openssh.authorizedKeys.keys = [
- config.krebs.users.buildbotSlave.pubkey
- config.krebs.users.makefu-remote-builder.pubkey
- ];
- };
+ name = "nixBuild";
+ isNormalUser = true;
+ useDefaultShell = true;
+ openssh.authorizedKeys.keys = [
+ config.krebs.users.buildbotSlave.pubkey
+ config.krebs.users.makefu-remote-builder.pubkey
+ ];
+ };
}