nixos/system/users.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
506 B
Nix
Raw Normal View History

2024-02-27 21:20:00 +00:00
{ pkgs, ... }:
2024-02-27 04:07:03 +00:00
{
2024-02-27 08:33:38 +00:00
programs.zsh.enable = true;
environment.shells = with pkgs; [ zsh ];
2024-02-27 04:07:03 +00:00
# Setup torjus user
users.users.torjus = {
isNormalUser = true;
2024-03-01 12:36:31 +00:00
initialPassword = "password";
2024-03-09 19:31:42 +00:00
linger = true;
2024-02-27 04:07:03 +00:00
home = "/home/torjus";
description = "Torjus";
2024-02-27 08:33:38 +00:00
shell = pkgs.zsh;
2024-05-31 12:27:33 +00:00
extraGroups = [
"wheel"
"input"
"networkmanager"
"video"
"gamemode"
"libvirtd"
2024-09-18 19:00:00 +00:00
"podman"
2024-05-31 12:27:33 +00:00
];
2024-02-27 04:07:03 +00:00
# Install some user packages
packages = with pkgs; [ ];
};
}