141 lines
2.6 KiB
Nix
141 lines
2.6 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
|
|
kdegraphics-thumbnailers
|
|
ffmpegthumbs
|
|
kio
|
|
kio-admin # needs to be both here and in system pkgs
|
|
kio-extras
|
|
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}" "$@"
|
|
'')
|
|
|
|
(with import <nixpkgs> {}; callPackage ../overlays/tutanota.nix {})
|
|
swayosd
|
|
blueberry
|
|
libayatana-appindicator
|
|
papirus-icon-theme
|
|
steam-run
|
|
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
|
|
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
|
|
];
|
|
}
|