blob: 95fe37c44929f90c71bb9303b15cf7d5c8c80ef4 (
plain)
1
2
3
4
5
6
7
|
{ flake, lib, config, hostName, ... }:
{
users.users.root = lib.mkIf (flake.nixosModules.accounts ? "gkleen@${hostName}") {
inherit (config.users.users."gkleen") hashedPassword shell;
openssh.authorizedKeys.keyFiles = config.users.users."gkleen".openssh.authorizedKeys.keyFiles;
};
}
|