main
1{
2 flake.modules.nixos.user-root = {config, ...}: {
3 users.users.root = {
4 hashedPasswordFile = config.vaultix.secrets.user-root-hashed-password.path;
5 openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFMKaGC2I3an4AJDeWzVx5vhm63+kxi6zJNdh7yEp6CK hpcesia@kevin"];
6 };
7
8 vaultix.secrets.user-root-hashed-password.file = ./hashed-password.age;
9 };
10}