nixos-configuration/user.nix

18 lines
340 B
Nix

{ name }:
{ pkgs, ... }:
{
# Define a user account. Don't forget to set a password with `passwd`.
users.users.asonix = {
isNormalUser = true;
description = name;
shell = pkgs.zsh;
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [
firefox
];
};
users.defaultUserShell = pkgs.zsh;
}