fix(root): allow ssh access to keys
This commit is contained in:
parent
0360a7011f
commit
5b954b35b3
1 changed files with 4 additions and 1 deletions
|
@ -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 [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue