mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-23 20:30:52 +01:00
feat: update authorized principals
This commit is contained in:
parent
a80bc8f8fd
commit
a42363013f
2 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
];
|
||||
shell = pkgs.fish;
|
||||
hashedPasswordFile = config.age.secrets.julien-password.path;
|
||||
openssh.authorizedPrincipals = [ "julien" ];
|
||||
};
|
||||
|
||||
nix.settings.allowed-users = [ "julien" ];
|
||||
|
|
Loading…
Add table
Reference in a new issue