19 lines
417 B
Nix
19 lines
417 B
Nix
{ config, pkgs, ... }:
|
||
|
||
{
|
||
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.xkbOptions = "caps:swapescape";
|
||
|
||
users.extraUsers.haak = {
|
||
shell = pkgs.zsh;
|
||
};
|
||
}
|