nixos-configs/hosts/wim/home/packages.nix

135 lines
2.5 KiB
Nix
Raw Normal View History

2023-10-12 10:17:08 -04:00
{ pkgs, config, nixpkgs-wayland, nix-melt, nurl, ... }: let
2023-10-11 21:34:17 -04:00
waypkgs = nixpkgs-wayland.packages.x86_64-linux;
in
2023-06-26 17:29:17 -04:00
{
programs = {
2023-09-21 17:10:25 -04:00
obs-studio = {
enable = true;
2023-10-11 21:34:17 -04:00
plugins = with waypkgs; [
obs-wlrobs
2023-09-21 17:10:25 -04:00
];
};
btop.enable = true;
jq.enable = true;
ripgrep = {
enable = true;
};
2023-10-03 12:42:55 -04:00
java = {
enable = true;
package = pkgs.temurin-bin-17;
};
2023-06-26 17:29:17 -04:00
};
2023-10-11 18:03:15 -04:00
home.packages = [
nix-melt.packages.x86_64-linux.default
2023-10-12 10:17:08 -04:00
nurl.packages.x86_64-linux.default
2023-10-11 18:03:15 -04:00
] ++
(with pkgs.python311Packages; [
2023-10-08 14:42:43 -04:00
python
pyclip
]) ++
(with pkgs.nodePackages; [
undollar
]) ++
(with pkgs.plasma5Packages; [
polkit-kde-agent
ark
kcharselect
kdenlive
okular
# Dolphin & co
dolphin
dolphin-plugins
kdegraphics-thumbnailers
ffmpegthumbs
kio
kio-admin # needs to be both here and in system pkgs
kio-extras
kmime
]) ++
(with pkgs.gnome; [
gnome-calculator
seahorse
]) ++
(with config.nur.repos.rycee; [
mozilla-addons-to-nix
]) ++
(with pkgs; [
2023-09-12 08:02:35 -04:00
# School
2023-09-25 23:07:55 -04:00
virt-manager
2023-09-19 23:23:19 -04:00
gradle
gradle-completion # FIXME: not working
2023-09-12 08:02:35 -04:00
#camunda-modeler
2023-09-29 23:46:34 -04:00
# Misc Apps
thunderbird # TODO: use programs.thunderbird
firefox # TODO: use programs.firefox
spotifywm
2023-06-26 17:29:17 -04:00
zeal
libreoffice-fresh # TODO: add spelling stuff and declarative conf?
2023-06-26 17:29:17 -04:00
photoqt
gimp-with-plugins # TODO: set plugins using nix
2023-06-26 17:29:17 -04:00
vlc
discord
nextcloud-client
jellyfin-media-player
xournalpp
# Misc CLI
neofetch
acpi
progress
2023-06-26 17:29:17 -04:00
alsa-utils
wget
tree
mosh
rsync
killall
fontfor
imagemagick
usbutils
(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}" "$@"
'')
2023-10-08 14:42:43 -04:00
]);
xdg.desktopEntries.gparted = {
name = "GParted";
genericName = "Partition Editor";
comment = "Create, reorganize, and delete partitions";
exec = "Gparted";
icon = "gparted";
terminal = false;
type = "Application";
categories = [ "GNOME" "System" "Filesystem" ];
startupNotify = true;
settings = {
Keywords = "Partition";
X-GNOME-FullName = "GParted Partition Editor";
};
};
2023-06-26 17:29:17 -04:00
}