Create host-specific folder

This commit is contained in:
2024-02-27 09:47:30 +01:00
parent 539464e12a
commit 78992b130b
8 changed files with 25 additions and 10 deletions

46
system/users.nix Normal file
View File

@@ -0,0 +1,46 @@
{ pkgs, ...}:
{
programs.zsh.enable = true;
environment.shells = with pkgs; [ zsh ];
# Setup torjus user
users.users.torjus = {
isNormalUser = true;
home = "/home/torjus";
description = "Torjus";
shell = pkgs.zsh;
extraGroups = [ "wheel" "networkmanager" ];
# Install some user packages
packages = with pkgs; [
# Browser
firefox
# Editors
vscode
# Python stuff
python3
ruff
poetry
# Go stuff
go
delve
gopls
# Generic stuff
tokei
ripgrep
jq
# Hyprland stuff
rofi-wayland
swaylock
waybar
dunst
slurp
wpaperd
];
};
}