From a42363013f86bb7e33b40aa6c5e054500b41c8fb Mon Sep 17 00:00:00 2001 From: Julien Malka Date: Tue, 24 Dec 2024 15:07:42 +0100 Subject: [PATCH] feat: update authorized principals --- users/default.nix | 1 + users/julien.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/users/default.nix b/users/default.nix index ea32c55..0319dce 100644 --- a/users/default.nix +++ b/users/default.nix @@ -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" diff --git a/users/julien.nix b/users/julien.nix index 57b7ba8..0068613 100644 --- a/users/julien.nix +++ b/users/julien.nix @@ -18,6 +18,7 @@ ]; shell = pkgs.fish; hashedPasswordFile = config.age.secrets.julien-password.path; + openssh.authorizedPrincipals = [ "julien" ]; }; nix.settings.allowed-users = [ "julien" ];