2021-06-05 23:59:06 +03:00
|
|
|
{ pkgs, config, ... }:
|
|
|
|
{
|
|
|
|
nix.trustedUsers = [ "nix" ];
|
|
|
|
users.users.nix = {
|
|
|
|
isSystemUser = true;
|
|
|
|
description = "Nix Remote Build";
|
|
|
|
home = "/var/tmp/nix-remote-builder";
|
|
|
|
createHome = true;
|
|
|
|
useDefaultShell = true;
|
|
|
|
openssh.authorizedKeys.keys = [
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBa9gDXWdp7Kqzbjz9Zchu91ZoYcBD6AbjvuktYA//yg"
|
|
|
|
];
|
2022-05-17 00:13:57 +03:00
|
|
|
group = "nix";
|
2021-06-05 23:59:06 +03:00
|
|
|
};
|
2022-05-17 00:13:57 +03:00
|
|
|
users.groups.nix = {};
|
2021-06-05 23:59:06 +03:00
|
|
|
}
|