add remote builder for hs
This commit is contained in:
parent
cadc429c05
commit
f7684f89c3
3 changed files with 34 additions and 0 deletions
19
os/builder.nix
Normal file
19
os/builder.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ config, pkgs, ... }:
|
||||
let sshKeys = with (import ../sshKeys.nix); [
|
||||
hs
|
||||
];
|
||||
in
|
||||
{
|
||||
users.users.remotebuild = {
|
||||
isNormalUser = true;
|
||||
createHome = false;
|
||||
group = "remotebuild";
|
||||
shell = pkgs.bash;
|
||||
|
||||
openssh.authorizedKeys.keys = sshKeys;
|
||||
};
|
||||
|
||||
users.groups.remotebuild = {};
|
||||
|
||||
nix.settings.extra-trusted-users = [ "remotebuild" ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue