dotfiles/nix/system/common/users.nix

22 lines
449 B
Nix
Raw Permalink Normal View History

{ config, pkgs, ... }:
{
2023-05-27 20:34:18 -07:00
programs.zsh.enable = true;
users.users.haak = {
isNormalUser = true;
extraGroups = [
"wheel" # Enable sudo for the user.
"networkmanager" # Allow the user to manage networks
];
};
# run the following command to swap escape and caps-lock keys, like a
# civilized person:
services.xserver.xkb.options = "caps:swapescape";
users.extraUsers.haak = {
shell = pkgs.zsh;
};
}