mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-08-21 10:45:49 +02:00
bb2993b125
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
19 lines
306 B
Nix
19 lines
306 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
username = config.var.username;
|
|
in {
|
|
programs.zsh.enable = true;
|
|
users = {
|
|
defaultUserShell = pkgs.zsh;
|
|
|
|
users.${username} = {
|
|
isNormalUser = true;
|
|
description = "${username} account";
|
|
extraGroups = ["networkmanager" "wheel"];
|
|
};
|
|
};
|
|
}
|