nixos/system/users.nix
2024-05-31 14:27:33 +02:00

28 lines
495 B
Nix

{ pkgs, ... }:
{
programs.zsh.enable = true;
environment.shells = with pkgs; [ zsh ];
# Setup torjus user
users.users.torjus = {
isNormalUser = true;
initialPassword = "password";
linger = true;
home = "/home/torjus";
description = "Torjus";
shell = pkgs.zsh;
extraGroups = [
"wheel"
"input"
"networkmanager"
"video"
"gamemode"
"libvirtd"
];
# Install some user packages
packages = with pkgs; [
];
};
}