13 lines
252 B
Nix
13 lines
252 B
Nix
{ secret, ... }: {
|
|
imports = [ ./common ];
|
|
|
|
user.common.users = [{ name = "root"; homeDir = "/root"; }];
|
|
users.users.root.hashedPassword = secret.hashedPassword;
|
|
security.sudo = {
|
|
enable = false;
|
|
extraConfig = ''
|
|
Defaults rootpw
|
|
'';
|
|
};
|
|
}
|