Root : Fix common setup.

This commit is contained in:
Dmitry Voronin 2024-06-27 16:34:58 +03:00 committed by Dmitry Voronin
parent e980f9fd16
commit f068155c19
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -1,16 +1,7 @@
{ const
, util
, style
, pkgs
, config
, key
, secret
, ... } @args: {
imports = [
./common
];
{ secret, ... }: {
imports = [ ./common ];
# user.common.users = [{ name = "root"; homeDir = "/root"; }];
user.common.users = [{ name = "root"; homeDir = "/root"; }];
users.users.root.hashedPassword = secret.hashedPassword;
security.sudo = {
enable = false;