refactor: restructure config files

This commit is contained in:
2026-04-27 15:59:20 +02:00
parent bac6e4997b
commit 0b2ecd31b0
58 changed files with 6 additions and 2 deletions
+13
View File
@@ -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;
};
}