67 lines
1.9 KiB
Nix
67 lines
1.9 KiB
Nix
# Module: User Configuration
|
|
# Description: Defines the main user 'alice' with groups, permissions, and user packages
|
|
# Packages: Browsers (Firefox), Office (LibreOffice), Development (VSCode, Git),
|
|
# Media (VLC, Spotify), Communication (Slack, Thunderbird), and more
|
|
{
|
|
pkgs,
|
|
customConfig,
|
|
...
|
|
}: {
|
|
users.users."${customConfig.username}" = {
|
|
isNormalUser = true;
|
|
home = "/home/${customConfig.username}";
|
|
# Base groups - docker/vboxusers are added by virtualization.nix if enabled
|
|
extraGroups = ["wheel" "audio" "dialout" "plugdev"];
|
|
packages = with pkgs; [
|
|
# Browsers & Web
|
|
firefox
|
|
|
|
# Office & Productivity
|
|
libreoffice
|
|
onlyoffice-desktopeditors
|
|
obsidian
|
|
ticktick
|
|
nextcloud-client
|
|
|
|
# Development
|
|
neovim
|
|
git
|
|
vscode
|
|
zotero
|
|
tcpdump
|
|
pandoc
|
|
libsecret
|
|
|
|
# Communication
|
|
slack
|
|
thunderbird
|
|
discord
|
|
|
|
# Media & Creative
|
|
vlc
|
|
spotify
|
|
mixxx
|
|
pympress
|
|
|
|
# Gaming & Entertainment
|
|
prismlauncher # Minecraft launcher
|
|
# widelands # Strategy game
|
|
wasistlos # Game
|
|
signal-desktop
|
|
moonlight-qt # Game streaming
|
|
|
|
# System & Cloud
|
|
rclone
|
|
fuse3
|
|
pavucontrol
|
|
tree
|
|
sops
|
|
age
|
|
];
|
|
|
|
openssh.authorizedKeys.keys = [
|
|
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCMzLza+1iFSUgZaPzEwpRNW/CvcsbXh8vJ9RevwFntNZdZIVc/j5OLRy+GOojlZdar070PkKDO+Pmtqu1uQ4XE+onqmsxom5JGyYaSScB3l33CLL2jBT7mBqBOVDuTBj3ACLT8fS1eUolI7erShvIH9VUvrg83bZ2CvgA/DjJLHfVCpvx9EsG0Q00k27LNU7yXga8sjK1YikA+o1bKTWavCGOWkZMFXOVeEDR+arOQ440s6f6eg7C+30V02ijRLA6pWFAkj2/fMaD+44IPMVjOj96vvPUJrlL1N7BDPxBlj1rrB35+pUkpVIN4B0etqnkrJIV+IxtmSpkNHr52Y7nkTu3mOWn1P0DcOdR5OA8JZRbSkbL/QW4GzFWs3eN7CMOMwKQdO+1J/wL4U7qrmKEYwcNaprqlDF0SIPp0+l/VWNMe6uK0r5iZwp355PUSR+Zc5skf74wMsZ1LokUlihdI+E6TNGvmDgjqKx6OrI3dyP/eW7xtR7KvbdoaUjy8AE8= alice@nixos"
|
|
];
|
|
};
|
|
}
|