feat(users): use password files
This commit is contained in:
parent
acc8fa2d71
commit
91ce253aa3
5 changed files with 44 additions and 5 deletions
|
@ -1,6 +1,7 @@
|
|||
{ lib, ... }: {
|
||||
users.users.root.hashedPassword =
|
||||
"PASSWORD SET IN THE FUTURE";
|
||||
{ lib, config, self, ... }: {
|
||||
age.secrets.root-password.file = "${self}/secrets/root-password.age";
|
||||
|
||||
users.users.root.passwordFile = config.age.secrets.root-password.path;
|
||||
|
||||
home-manager.users.root = { suites, profiles, ... }: {
|
||||
imports = lib.lists.flatten [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue