diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-12-13 15:19:21 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-12-13 15:19:21 -0800 |
| commit | 771039f64d44a60f9691582fe559e26b431bbbe8 (patch) | |
| tree | 1f980dd57b0f3256825f04f101c81ae458a4b424 /profiles/users/builder.nix | |
| parent | update builders configuration (diff) | |
| download | infra-771039f64d44a60f9691582fe559e26b431bbbe8.tar.gz | |
remove abstractions for managing users
Diffstat (limited to 'profiles/users/builder.nix')
| -rw-r--r-- | profiles/users/builder.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/profiles/users/builder.nix b/profiles/users/builder.nix new file mode 100644 index 0000000..32f318f --- /dev/null +++ b/profiles/users/builder.nix @@ -0,0 +1,15 @@ +{ ... }: +{ + nix.settings.trusted-users = [ "builder" ]; + + users.users.builder = { + openssh.authorizedKeys.keys = [ + # my personal key + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi" + # remote builder ssh key + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGFGxdplt9WwGjdhoYkmPe2opZMJShtpqnGCI+swrgvw" + ]; + isNormalUser = true; + group = "nogroup"; + }; +} |
