There was an error while loading. Please reload this page.
2 parents 12ac49d + facd5e8 commit f2856baCopy full SHA for f2856ba
1 file changed
modules/nix.nix
@@ -80,6 +80,10 @@ in
80
users.users.${cfg.remoteBuilder.name} = lib.mkIf cfg.remoteBuilder.enable {
81
group = "nogroup";
82
isSystemUser = true;
83
+ # sshd runs the forced command from authorizedKeys as `$shell -c ...`,
84
+ # so a nologin shell (the default for system users) breaks remote building with:
85
+ # "protocol mismatch, got 'This account is currently not available.'"
86
+ shell = pkgs.bashInteractive;
87
openssh.authorizedKeys.keys = map
88
(key:
89
let
0 commit comments