summaryrefslogtreecommitdiff
path: root/modules/server/users.nix
blob: 338b510efdb7172d397d89f67f42b3fd85b89c84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
{ secrets, ... }:
{
  users.users.root = {
    initialHashedPassword = secrets.initial_hashed_password;

    openssh.authorizedKeys.keys = [
      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBm/ydlGJiKWMxH6v9SFN3vo/ZkX6eQ+uCmH32gnCkUW"
    ];
  };
}