nixos-configs/nixos/home/packages.nix

137 lines
2.5 KiB
Nix

{ pkgs, ... }:
{
home.shellAliases = {
rg = "rga";
};
programs = {
btop = {
enable = true;
};
ripgrep = {
enable = true;
package = pkgs.ripgrep-all;
};
waybar = {
enable = true;
# https://discourse.nixos.org/t/how-to-use-waybar-hyprland/27638/6
package = (builtins.getFlake "github:hyprwm/Hyprland").packages.x86_64-linux.waybar-hyprland;
};
};
home.packages = with pkgs;
(with xorg; [
xcursorthemes
]) ++
(with python311Packages; [
python
pyclip
]) ++
(with plasma5Packages; [
polkit-kde-agent
qtstyleplugin-kvantum
breeze-icons
dolphin
dolphin-plugins
ffmpegthumbs
kio-admin # needs to be both here and in system pkgs
ark
kcharselect
kdenlive
kmime
okular
]) ++
(with gnome; [
gnome-calculator
seahorse
adwaita-icon-theme
]) ++
[
(writeShellScriptBin "Gparted" ''
(
sleep 1.5
while killall -r -0 ksshaskpass > /dev/null 2>&1
do
sleep 0.1
if [[ $(hyprctl activewindow | grep Ksshaskpass) == "" ]]; then
killall -r ksshaskpass
fi
done
) &
exec env SUDO_ASKPASS=${pkgs.plasma5Packages.ksshaskpass}/bin/${pkgs.plasma5Packages.ksshaskpass.pname} sudo -k -EA "${gparted}/bin/${gparted.pname}" "$@"
'')
swayosd
blueberry
libayatana-appindicator
qt5.qtwayland
qt6.qtwayland
httrack
lisgd
zeal
acpi
libreoffice-fresh # TODO: add spelling stuff
neofetch
photoqt
progress
wl-color-picker # add bind for this in hyprland
xclip
xdg-utils
pavucontrol # TODO: open on left click
gimp-with-plugins
jdk19_headless
bluez-tools
spotify
#spotifywm # fails to build
spicetify-cli # TODO
vlc
discord
brightnessctl
pulseaudio
alsa-utils
wget
firefox
tree
mosh
rsync
killall
jq # enable using home-manager?
ripgrep-all
hyprpaper
rofi-wayland
networkmanagerapplet
nextcloud-client
tutanota-desktop
galaxy-buds-client
swaynotificationcenter
swayidle
wl-clipboard
cliphist
gtklock
gtklock-playerctl-module
gtklock-powerbar-module
grim
slurp
swappy
neovim
fontfor
qt5ct
lxappearance
imagemagick
usbutils
evtest
squeekboard
glib
appimage-run
gparted # doesn't open without sudo
];
}