2024-05-04 23:15:57 +03:00
|
|
|
{ const
|
|
|
|
, util
|
|
|
|
, style
|
|
|
|
, pkgs
|
2024-06-24 13:36:10 +03:00
|
|
|
, config
|
2024-05-04 23:15:57 +03:00
|
|
|
, key
|
|
|
|
, secret
|
|
|
|
, ... } @args: {
|
2024-03-21 17:42:09 +03:00
|
|
|
imports = [
|
2024-06-25 04:04:39 +03:00
|
|
|
./common
|
2024-03-21 17:42:09 +03:00
|
|
|
];
|
2024-04-14 23:37:48 +03:00
|
|
|
|
2024-06-25 04:04:39 +03:00
|
|
|
# user.common.users = [{ name = "root"; homeDir = "/root"; }];
|
2024-04-14 19:30:03 +03:00
|
|
|
users.users.root.hashedPassword = secret.hashedPassword;
|
2024-03-11 23:26:54 +03:00
|
|
|
security.sudo = {
|
|
|
|
enable = false;
|
|
|
|
extraConfig = ''
|
|
|
|
Defaults rootpw
|
|
|
|
'';
|
|
|
|
};
|
2024-03-04 00:34:39 +03:00
|
|
|
}
|