mtworx: set real passwords

This commit is contained in:
2024-03-18 17:46:17 +02:00
committed by Motiejus Jakštys
parent c11edc3576
commit f2998e7aeb
5 changed files with 42 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
{
pkgs,
#config,
config,
myData,
...
}: let
@@ -64,10 +64,8 @@ in {
base.users = {
enable = true;
devTools = true;
root.initialPassword = "live";
user.initialPassword = "live";
#root.hashedPasswordFile = config.age.secrets.root-passwd-hash.path;
#user.hashedPasswordFile = config.age.secrets.motiejus-passwd-hash.path;
root.hashedPasswordFile = config.age.secrets.root-work-passwd-hash.path;
user.hashedPasswordFile = config.age.secrets.motiejus-work-passwd-hash.path;
};
services = {