101 lines
2.6 KiB
Nix
101 lines
2.6 KiB
Nix
{
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
outputs,
|
|
...
|
|
}: let
|
|
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
|
|
in {
|
|
users.mutableUsers = false;
|
|
users.users.yukari = {
|
|
description = "Yukari";
|
|
group = "yukari";
|
|
isNormalUser = true;
|
|
shell = pkgs.fish;
|
|
extraGroups = ifTheyExist [
|
|
"networkmanager"
|
|
"audio"
|
|
"network"
|
|
"video"
|
|
"podman"
|
|
"docker"
|
|
"git"
|
|
"gamemode"
|
|
];
|
|
|
|
createHome = true;
|
|
hashedPassword = "$y$j9T$rGuTL0rfiy7ht8L58BGCw0$fN.KwHjYlIitFEPHndKvV06ezgeWzP3/58o1kkviZwB";
|
|
packages = [pkgs.home-manager];
|
|
};
|
|
users.groups.yukari = {};
|
|
|
|
home-manager.users.yukari = {
|
|
imports =
|
|
[
|
|
../../../../homes/julian/features/fonts
|
|
../../../../homes/julian/features/suites/cli
|
|
]
|
|
++ (builtins.attrValues outputs.homeManagerModules);
|
|
|
|
home = {
|
|
username = lib.mkDefault "yukari";
|
|
homeDirectory = lib.mkDefault "/home/${config.home.username}";
|
|
stateVersion = lib.mkDefault "23.11";
|
|
|
|
sessionPath = ["$HOME/.local/bin"];
|
|
|
|
packages = with pkgs; [
|
|
arandr
|
|
calibre # ebook manager and viewer
|
|
# digikam
|
|
discord
|
|
discord-ptb # in case discord updates take their time
|
|
# dvdisaster
|
|
# element-desktop
|
|
# rocketchat-desktop
|
|
thunderbird
|
|
tdesktop # telegram
|
|
# schildichat-desktop # not updated regularly
|
|
nheko
|
|
evince # Simple pdf reader, good for focusing on document content
|
|
firefox
|
|
vivaldi
|
|
# geogebra
|
|
cheese
|
|
handbrake
|
|
# kitty # Terminal, already available as feature
|
|
libnotify
|
|
libreoffice
|
|
mate.engrampa
|
|
nomacs # Image viewer
|
|
kdePackages.okular # Pdf reader with many features, good for commenting documents
|
|
pavucontrol
|
|
pdfsam-basic # Split, merge, etc for pdfs
|
|
qalculate-gtk # Nice gui calculator
|
|
qpdfview
|
|
# qutebrowser
|
|
# realvnc-vnc-viewer
|
|
rpi-imager # make isos
|
|
# rustdesk
|
|
tor-browser
|
|
unstable.path-of-building # Path of Building
|
|
# frajul.pob-dev-version # Path of Building
|
|
vlc
|
|
wineWowPackages.stable # 32-bit and 64-bit wine
|
|
winetricks
|
|
xclip # x11 clipboard access from terminal
|
|
xfce.mousepad # simple text editor
|
|
xournalpp # Edit pdf files
|
|
zoom-us # Video conferencing
|
|
zotero # Manage papers and other sources
|
|
pdfpc # Present slides in pdf form
|
|
];
|
|
};
|
|
programs = {
|
|
home-manager.enable = true;
|
|
git.enable = true;
|
|
};
|
|
};
|
|
}
|