From 5b954b35b39412dd86a907639b17da1cc411f95c Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Fri, 13 May 2022 09:43:53 -0400 Subject: [PATCH] fix(root): allow ssh access to keys --- users/root/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/users/root/default.nix b/users/root/default.nix index 5466b58..550acc5 100644 --- a/users/root/default.nix +++ b/users/root/default.nix @@ -1,5 +1,8 @@ { lib, config, self, ... }: { - users.users.root.passwordFile = lib.mkIf config.modules.secrets.enable config.secrets.root-password; + users.users.root = { + passwordFile = lib.mkIf config.modules.secrets.enable config.secrets.root-password; + openssh.authorizedKeys.keys = import ./ssh-keys.nix; + }; home-manager.users.root = { suites, profiles, ... }: { imports = lib.lists.flatten [