Home manager

This commit is contained in:
2026-01-22 10:44:27 -07:00
parent da9d7b4bff
commit f918c336fe
11 changed files with 184 additions and 94 deletions

View File

@@ -1,18 +1,15 @@
{ config, pkgs, ... }:
let
settings = import ../settings.nix;
in
{
users.groups.plugdev.gid = 69420;
users.users.${settings.username} = {
users.users.atridad = {
isNormalUser = true;
description = settings.userDescription;
extraGroups = settings.userGroups;
description = "Atridad Lahiji";
extraGroups = [ "networkmanager" "wheel" "docker" "plugdev" "input" "video" ];
shell = pkgs.bash;
};
# Security
security.sudo.execWheelOnly = true;
security.audit.enable = true;
security.auditd.enable = true;