Reorganize user configuration

This commit is contained in:
SebastianStork 2024-07-21 01:47:42 +02:00
parent 99fee4fddf
commit 14a285ce03
7 changed files with 61 additions and 52 deletions

16
users/seb/user.nix Normal file
View file

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