infra: steal from the best

(Mic92's cluster TUM's infra.)
This commit is contained in:
Raito Bezarius 2023-06-05 17:50:07 +02:00
parent 41aead1a04
commit 107cc6e53f
22 changed files with 951 additions and 0 deletions

11
modules/builder.nix Normal file
View file

@ -0,0 +1,11 @@
{
users.extraUsers.nix = {
isNormalUser = true;
home = "/home/nix";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAZpEtSfB0GDwcELc5/AKNiBZJV9OVfQ0BMFzBlF+8Yd raito@everywhere"
];
uid = 5001;
};
nix.settings.trusted-users = [ "nix" ];
}