nix-system/os/builder.nix
2025-10-04 12:06:40 +02:00

19 lines
354 B
Nix

{ 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" ];
}