{ config, lib, pkgs, nixgl, quickshell, home_attrs, ... }: { programs.home-manager.enable = true; nixGL.packages = nixgl.packages; nixGL.defaultWrapper = "mesa"; xdg.portal = { enable = true; extraPortals = with pkgs; [ xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-wlr kdePackages.xdg-desktop-portal-kde ]; config.hyprland = { default = [ "hyprland" "gtk" ]; "org.freedesktop.impl.portal.ScreenCast" = [ "gnome" ]; }; }; ## Allow fontconfig to discover fonts in home.packages fonts.fontconfig.enable = true; home = { packages = with pkgs; [ ##### Sure ##### ## Basic cli tool ## inetutils: provides hostname, ifconfig, ping, etc. ## libnotify: provides notify-send inetutils libnotify foot # Used in Quickshell and Hyprland config; its config is also included ##### Other basic things ##### dbus xorg.xlsclients networkmanager ##### Not work, to be solved ##### # swaylock pamtester # TODO: migrate all packages from dist-arch. Note that for each package, must know why it's needed and how it's used specifically, cuz things may be need tweak to properly use the package installed by Nix, especially those have hardcoded path /usr/* . ### illogical-impulse-audio libcava #cava (Used in Quickshell config) lxqt.pavucontrol-qt #pavucontrol-qt (Used in Hyprland and Quickshell config) wireplumber #wireplumber (not explicitly used) pipewire #pipewire-pulse (not explicitly used) libdbusmenu-gtk3 #libdbusmenu-gtk3 (not explicitly used) playerctl #playerctl (Used in Hyprland and Quickshell config) ### illogical-impulse-backlight (geoclue2.override { withDemoAgent = true; }) #geoclue (which demo agent used in Quickshell config) brightnessctl #brightnessctl (Used in Hyprland and Quickshell config) ddcutil #ddcutil (Used in Quickshell config) ### illogical-impulse-basic bc #bc (Used in quickshell/ii/scripts/colors/switchwall.sh for example) uutils-coreutils-noprefix #coreutils (Too many executables involved, not sure where been used) cliphist #cliphist (Used in Hyprland and Quickshell config) cmake #cmake (Used in building quickshell and MicroTeX) curlFull #curl (Used in Quickshell config) wget #wget (Used in Quickshell config) ripgrep #ripgrep (Not sure where been used) jq #jq (Widely used) xdg-user-dirs #xdg-user-dirs (Used in Hyprland and Quickshell config) rsync #rsync (Used in install script) yq-go #go-yq (Used in install script) ### illogical-impulse-bibata-modern-classic-bin bibata-cursors #https://github.com/ful1e5/Bibata_Cursor (Used in Hyprland config, not necessary) ### illogical-impulse-fonts-themes adw-gtk3 #adw-gtk-theme-git (https://github.com/lassekongo83/adw-gtk3) (Used in Quickshell config) kdePackages.breeze kdePackages.breeze-icons #breeze (Used in kdeglobals config) #breeze-plus (https://github.com/mjkim0727/breeze-plus) (TODO: Not available as nixpkg) (Used in kde-material-you-colors config) darkly darkly-qt5 #darkly-bin (TODO: darkly is supposed to be set as the theme for Qt apps, just have not figured out how to properly set it yet.) eza #eza (Used in Fish config: `alias ls 'eza --icons'`) #fish (Probably should not install via Nix) fontconfig #fontconfig (Basic thing) kitty #kitty (Used in fuzzel, Hyprland, kdeglobals and Quickshell config; kitty config is also included as dots) matugen #matugen-bin (Used in Quickshell) #otf-space-grotesk (https://events.ccc.de/congress/2024/infos/styleguide.html) (TODO: Not available as Nixpkg) (Used in Quickshell and matugen config) starship #starship (Used in Fish config) #ttf-gabarito-git (Font name: Gabarito) (Used in fuzzel and Quickshell config) (TODO: Not available as Nixpkg) nerd-fonts.jetbrains-mono #ttf-jetbrains-mono-nerd (Font name: JetBrains Mono NF, JetBrainsMono Nerd Font) (Used in foot, kdeglobals, kitty, qt5ct, qt6ct and Quickshell config) material-symbols #ttf-material-symbols-variable-git (Font name: Material Symbols Rounded, Material Symbols Outlined) (Used in Hyprland, matugen, Quickshell and wlogout config) #ttf-readex-pro (Font name: Readex Pro) (Used in Quickshell config) (TODO: seems not available as nixpkg) roboto-flex #ttf-roboto-flex (Font name: Roboto Flex) (Used in Hyprland, matugen and Quickshell config) rubik #ttf-rubik-vf (Font name: Rubik, Rubik Light) (Used in Hyprland, kdeglobals, matugen, qt5ct, qt6ct and Quickshell config) twemoji-color-font #ttf-twemoji (Not explicitly used, but it may help as fallback for displaying emoji charaters) ### illogical-impulse-hyprland hypridle #hypridle (Used for loginctl to lock session) #hyprland (Need NixGL, included elsewhere) #hyprlock (Should not be installed via Nix) hyprpicker #hyprpicker (Used in Hyprland and Quickshell config) hyprsunset #hyprsunset (Used in Quickshell config) #xdg-desktop-portal-hyprland (DUPLICATE) wl-clipboard #wl-clipboard (Surely needed) ### illogical-impulse-kde kdePackages.bluedevil #bluedevil (Seems not being used anywhere, maybe a part of KDE settings panel) #gnome-keyring #gnome-keyring (TODO: Maybe should not be installed by Nix) (Provide executable gnome-keyring-daemon, used in Hyprland and Quickshell config) networkmanager #networkmanager kdePackages.plasma-nm #plasma-nm (Seems not being used anywhere, maybe a part of KDE settings panel) #polkit-kde-agent (TODO: Maybe should not install by Nix) kdePackages.dolphin #dolphin (Used in Hyprland and Quickshell config) kdePackages.systemsettings #systemsettings (Used in Hyprland keybinds.conf) ### illogical-impulse-microtex-git # This package will be installed as /opt/MicroTeX #MicroTeX#https://github.com/NanoMichael/MicroTeX # TODO: Not available as nixpkg ### illogical-impulse-oneui4-icons-git #OneUI4-Icons#https://github.com/end-4/OneUI4-Icons # TODO: Custom repo, need to make a package ### illogical-impulse-portal #xdg-desktop-portal (Included elsewhere) #xdg-desktop-portal-kde (Included elsewhere) #xdg-desktop-portal-gtk (Included elsewhere) #xdg-desktop-portal-hyprland (Included elsewhere) ### illogical-impulse-python clang #clang (Some python package may need this to be built, e.g. #1235) uv #uv (Used for python venv) gtk4 #gtk4 (Not explicitly used) libadwaita #libadwaita (Not explicitly used) libsoup_3 #libsoup3 (Not explicitly used) libportal-gtk4 #libportal-gtk4 (Not explicitly used) gobject-introspection #gobject-introspection (Not explicitly used) ### illogical-impulse-quickshell-git #quickshell.packages.x86_64-linux.default (NixGL applicable, included elsewhere) ### illogical-impulse-screencapture hyprshot #hyprshot (Used in Hyprland keybinds.conf as fallback) slurp #slurp (Used in Hyprland and Quickshell config) swappy #swappy (Used in Quickshell config) tesseract #tesseract (Used in Quickshell and Hyprland config) #tesseract-data-eng (Used as data for tesseract) (TODO: Seems not available as nixpkg) wf-recorder #wf-recorder (Used in Quickshell config) ### illogical-impulse-toolkit kdePackages.kdialog #kdialog (Used in Quickshell config) # https://nixos.wiki/wiki/Qt # https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/qt-6/srcs.nix qt6.qt5compat #qt6-5compat #qt6.qtimageformats (TODO: really?) #qt6-avif-image-plugin qt6.qtbase #qt6-base qt6.qtdeclarative #qt6-declarative qt6.qtimageformats #qt6-imageformats qt6.qtmultimedia #qt6-multimedia qt6.qtpositioning #qt6-positioning qt6.qtquicktimeline #qt6-quicktimeline qt6.qtsensors #qt6-sensors qt6.qtsvg #qt6-svg qt6.qttools #qt6-tools qt6.qttranslations #qt6-translations qt6.qtvirtualkeyboard #qt6-virtualkeyboard qt6.qtwayland #qt6-wayland kdePackages.syntax-highlighting #syntax-highlighting (Used in Quickshell config) upower #upower (Used in Quickshell config) wtype #wtype (Used in Hyprland scripts/fuzzel-emoji.sh) ydotool #ydotool (Used in Quickshell config) ### illogical-impulse-widgets fuzzel #fuzzel (Used in Hyprland and Quickshell config; its config is also included) glib #glib2 (Provide executable gsettings) (Used in install script, also in matugen and quickshell config) imagemagick #imagemagick (Provide executable: magick) (Used in Quickshell config) #hypridle (DUPLICATE) #hyprutils (DUPLICATE) #hyprlock (DUPLICATE) #hyprpicker (DUPLICATE) songrec #songrec (Used in Quickshell config) translate-shell #translate-shell (Used in Quickshell config) wlogout #wlogout (Used in Hyprland config) ] ++ [ (config.lib.nixGL.wrap pkgs.hyprland) (config.lib.nixGL.wrap quickshell.packages.x86_64-linux.default) ]; }//home_attrs; }