14 lines
353 B
Nix
14 lines
353 B
Nix
{ lib, config, self, ... }: {
|
|
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 [
|
|
(with suites; [
|
|
base
|
|
])
|
|
];
|
|
};
|
|
}
|