Simplify user config structure

This commit is contained in:
SebastianStork 2025-10-11 15:21:49 +02:00
parent 33cad0b00c
commit 52c510d612
9 changed files with 22 additions and 31 deletions

11
users/seb/default.nix Normal file
View file

@ -0,0 +1,11 @@
{ config, ... }:
{
sops.secrets."seb-password".neededForUsers = true;
users.users.seb = {
isNormalUser = true;
description = "Sebastian Stork";
hashedPasswordFile = config.sops.secrets."seb-password".path;
extraGroups = [ "wheel" ];
};
}