24 lines
432 B
Nix
24 lines
432 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
# create users
|
|
users.users.aaron = {
|
|
isNormalUser = true;
|
|
group = "users";
|
|
extraGroups = [ "wheel" "networkmanager" ];
|
|
shell = pkgs.zsh;
|
|
};
|
|
|
|
# add default zsh config
|
|
programs.zsh = {
|
|
enable = true;
|
|
enableCompletion = true;
|
|
autosuggestions.enable = true;
|
|
ohMyZsh = {
|
|
enable = true;
|
|
plugins = [ "git" "sudo" ];
|
|
theme = "gentoo";
|
|
};
|
|
};
|
|
}
|