mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-05-20 05:12:34 +02:00
d71c9d8169
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
23 lines
362 B
Nix
23 lines
362 B
Nix
# Users configuration for NixOS
|
|
{
|
|
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"
|
|
];
|
|
};
|
|
};
|
|
}
|