refactor: split base and system module

This commit is contained in:
Nickolaj Jepsen 2025-12-12 04:17:02 +01:00
parent d50bbb3d12
commit 742a55e5a0
17 changed files with 34 additions and 24 deletions

View file

@ -1,17 +0,0 @@
{
username,
config,
...
}: let
inherit (config.age) secrets;
in {
config = {
age.secrets.hashed-user-password.rekeyFile = ../../secrets/hashed-user-password.age;
users.users.${username} = {
isNormalUser = true;
extraGroups = ["wheel"];
hashedPasswordFile = secrets.hashed-user-password.path;
};
};
}