feat(secrets): auto-add secrets, create path shortcut
This commit is contained in:
parent
44e85b3ee3
commit
56c459e49f
5 changed files with 19 additions and 6 deletions
|
@ -1,7 +1,5 @@
|
|||
{ lib, config, self, ... }: {
|
||||
age.secrets.root-password.file = "${self}/secrets/root-password.age";
|
||||
|
||||
users.users.root.passwordFile = config.age.secrets.root-password.path;
|
||||
users.users.root.passwordFile = config.secrets.root-password;
|
||||
|
||||
home-manager.users.root = { suites, profiles, ... }: {
|
||||
imports = lib.lists.flatten [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue