vm: fix user propagation, refactor base.users
This commit is contained in:
@@ -31,13 +31,13 @@
|
||||
mj = {
|
||||
stateVersion = "23.05";
|
||||
timeZone = "UTC";
|
||||
username = "motiejus";
|
||||
|
||||
base = {
|
||||
users = {
|
||||
enable = true;
|
||||
passwd = {
|
||||
root.hashedPasswordFile = config.age.secrets.root-passwd-hash.path;
|
||||
motiejus.hashedPasswordFile = config.age.secrets.motiejus-passwd-hash.path;
|
||||
};
|
||||
root.hashedPasswordFile = config.age.secrets.root-passwd-hash.path;
|
||||
user.hashedPasswordFile = config.age.secrets.motiejus-passwd-hash.path;
|
||||
};
|
||||
|
||||
unitstatus = {
|
||||
|
||||
Reference in New Issue
Block a user