30 lines
602 B
Nix
30 lines
602 B
Nix
{ config, pkgs, ... }: {
|
|
|
|
users.defaultUserShell = pkgs.zsh;
|
|
users.users.mbeno = {
|
|
shell = pkgs.zsh;
|
|
isNormalUser = true;
|
|
description = "Martin";
|
|
extraGroups = [ "networkmanager" "wheel" "docker" ];
|
|
packages = with pkgs; [
|
|
firefox
|
|
alacritty
|
|
mumble
|
|
zoom
|
|
mattermost-desktop
|
|
# thunderbird
|
|
];
|
|
};
|
|
security.sudo.extraRules = [
|
|
{
|
|
users = [ "mbeno" ];
|
|
commands = [
|
|
{
|
|
command = "ALL";
|
|
options = [ "NOPASSWD" ]; # "SETENV" # Adding the following could be a good idea
|
|
}
|
|
];
|
|
}
|
|
];
|
|
}
|