feat: update authorized principals

This commit is contained in:
Julien Malka 2024-12-24 15:07:42 +01:00
parent a80bc8f8fd
commit a42363013f
Signed by: Luj
GPG key ID: 6FC74C847011FD83
2 changed files with 2 additions and 0 deletions

View file

@ -20,6 +20,7 @@
shell = lib.mkForce config.users.defaultUserShell;
group = "root";
hashedPasswordFile = config.age.secrets.user-root-password.path;
openssh.authorizedPrincipals = [ "julien_root" ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGa+7n7kNzb86pTqaMn554KiPrkHRGeTJ0asY1NjSbpr julien@tower"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMAa0wll9ildhgPiV0DhgJXXtw3TQr5VkNxxxPspHSbX julien@gallifrey"

View file

@ -18,6 +18,7 @@
];
shell = pkgs.fish;
hashedPasswordFile = config.age.secrets.julien-password.path;
openssh.authorizedPrincipals = [ "julien" ];
};
nix.settings.allowed-users = [ "julien" ];