refactor: restructure config files
This commit is contained in:
1 parent
bac6e4997b
commit
0b2ecd31b0
58 files changed
+6
-2
No files matched your search
@@ -0,0 +1,13 @@
|
||||
{ config, ... }:
|
||||
let
|
||||
account = config.repo.account;
|
||||
in
|
||||
{
|
||||
flake.modules.nixos.sops-password =
|
||||
{ config, ... }:
|
||||
{
|
||||
sops.secrets.hashed-password.neededForUsers = true;
|
||||
|
||||
users.users.${account.name}.hashedPasswordFile = config.sops.secrets.hashed-password.path;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user