created emergent configuration

This commit is contained in:
Leyla Becker 2025-05-31 17:42:12 -05:00
parent 45835201f5
commit 8f29881b72
6 changed files with 240 additions and 1 deletions

View file

@ -106,7 +106,9 @@ in {
uid = lib.mkForce uids.eve;
name = lib.mkForce host.users.eve.name;
description = "Eve";
extraGroups = lib.optionals host.users.eve.isNormalUser ["networkmanager"];
extraGroups =
lib.optionals host.users.eve.isNormalUser ["networkmanager"]
++ (lib.lists.optionals host.users.eve.isPrincipleUser ["wheel"]);
hashedPasswordFile = config.sops.secrets."passwords/eve".path;
isNormalUser = host.users.eve.isNormalUser;
isSystemUser = !host.users.eve.isNormalUser;