dotfiles/nix/system/common/users.nix
2024-06-28 01:47:55 -07:00

21 lines
449 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ config, pkgs, ... }:
{
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;
};
}