{ pkgs , flakeRoot , inputs , ... }: let desktop-pkgs = with pkgs; [ mullvad-vpn bitwarden calibre beekeeper-studio thunderbird brightnessctl libsForQt5.plasma-browser-integration libsForQt5.kdeconnect-kde libsForQt5.ark libsForQt5.kate haruna # Video player libreoffice-qt gimp audacity discord whatsapp-for-linux inkscape nsxiv inputs.scripts.packages.${pkgs.system}.image-move wineWowPackages.full winetricks ]; in { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.sharedModules = [{ imports = [ (flakeRoot + /share/home) ]; }]; home-manager.users.alice = { imports = let home = flakeRoot + /share/home; in [ # Custom home manager modules (flakeRoot + /share/hm-modules/wpaperd.nix) # Config (home + /kitty.nix) (home + /hyprland.nix) (home + /git.nix) (home + /firefox) (home + /wezterm) ]; home.packages = with pkgs; [ signal-desktop tdesktop # Telegram desktop qbittorrent okteta emacs # spotify-qt librespot nheko # matrix client # Various utils # qemu_kvm pijul # alternative vsc system tokei # counts lines of code dua # modern du with interactive mode (dua i) btop # modern top # Gaming libsForQt5.kpat # solitare jdk17_headless superTuxKart linux-wifi-hotspot qemu_kvm ] ++ desktop-pkgs; home.stateVersion = "22.05"; programs.gallery-dl = { enable = true; settings.extractor = { base-directory = "$XDG_DOWNLOAD_DIR/gallery-dl"; postprocessors = [ { name = "metadata"; mode = "json"; whitelist = [ "danbooru" "moebooru" "gelbooru" "sankaku" "nhentai" "rule34" ]; } { name = "zip"; compression = "store"; extension = "cbz"; filter = "extension not in ('zip', 'rar')"; whitelist = [ "nhentai" "mangadex" ]; } ]; Danbooru.metadata = true; }; # End of settings.extractor }; # End of programs.gallery-dl }; # End of users.alice home-manager.users.madhatter = { home.packages = desktop-pkgs; imports = let home = flakeRoot + /share/home; in [ # Config (home + /kitty.nix) (home + /git.nix) (home + /firefox) ]; home.stateVersion = "23.05"; }; home-manager.users.root = { home.packages = with pkgs; [ linux-wifi-hotspot dua # modern du with interactive mode (dua i) ]; home.stateVersion = "22.05"; }; }