add remote builder for hs

This commit is contained in:
ant 2025-10-04 12:05:26 +02:00
parent cadc429c05
commit f7684f89c3
3 changed files with 34 additions and 0 deletions

19
os/builder.nix Normal file
View 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" ];
}