Home manager
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user