nixos/system/users.nix

44 lines
683 B
Nix
Raw Normal View History

2024-02-27 04:07:03 +00:00
{ pkgs, ...}:
{
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;
home = "/home/torjus";
description = "Torjus";
2024-02-27 08:33:38 +00:00
shell = pkgs.zsh;
2024-02-27 04:07:03 +00:00
extraGroups = [ "wheel" "networkmanager" ];
# Install some user packages
packages = with pkgs; [
# Editors
vscode
# Python stuff
python3
ruff
poetry
# Go stuff
go
delve
gopls
2024-02-27 04:10:59 +00:00
# Generic stuff
2024-02-27 04:07:03 +00:00
tokei
ripgrep
2024-02-27 04:10:59 +00:00
jq
2024-02-27 04:16:32 +00:00
# Hyprland stuff
rofi-wayland
swaylock
waybar
dunst
slurp
wpaperd
2024-02-27 04:07:03 +00:00
];
};
}