add basic user management

This commit is contained in:
Dennis Wuitz
2023-12-23 08:27:00 +01:00
parent f2c3f279d5
commit aca834a717
8 changed files with 47 additions and 12 deletions

13
secrets/secrets.nix Normal file
View File

@ -0,0 +1,13 @@
let
alice = "ssh-ed25519 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA";
dennis = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJFc7O+5G6fwpXv9j/miJzST6g1AKkPTFtKwuj6j8NC+";
allUsers = [alice dennis];
palatine-hill = "ssh-ed25519 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA";
photon = "ssh-ed25519 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA";
allSystems = [palatine-hill photon];
in {
"TEST.age".publicKeys = allUsers ++ [photon];
}