Nix-Hyprland/nixos/modules/user.nix
2024-04-17 05:52:14 +05:00

18 lines
373 B
Nix

{ pkgs, ... }: {
programs.zsh.enable = true;
users = {
defaultUserShell = pkgs.zsh;
users.amper = {
isNormalUser = true;
description = "Ampersand";
extraGroups = [ "networkmanager" "wheel" "input" "libvirtd" ];
packages = with pkgs; [];
};
};
# Enable automatic login for the user.
services.getty.autologinUser = "amper";
}