25 lines
478 B
Nix
25 lines
478 B
Nix
{ config, pkgs, ... }:
|
|
let sshKeys = with (import ../sshKeys.nix); [
|
|
hs
|
|
basado
|
|
];
|
|
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" ];
|
|
nix.settings.extra-system-features = [
|
|
"gccarch-x86-64-v2"
|
|
"gccarch-x86-64-v3"
|
|
"gccarch-znver2"
|
|
];
|
|
}
|