mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 16:16:50 +01:00
refactor: split base and system module
This commit is contained in:
parent
d50bbb3d12
commit
742a55e5a0
17 changed files with 34 additions and 24 deletions
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue