2023-11-22 15:33:16 -05:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
nixpkgs-wayland,
|
|
|
|
...
|
|
|
|
}: let
|
2023-10-11 21:34:17 -04:00
|
|
|
waypkgs = nixpkgs-wayland.packages.x86_64-linux;
|
2023-10-15 15:31:49 -04:00
|
|
|
in {
|
2023-06-27 17:19:28 -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
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2023-07-15 17:47:37 -04:00
|
|
|
btop.enable = true;
|
2023-06-26 17:29:17 -04:00
|
|
|
};
|
2023-06-27 17:19:28 -04:00
|
|
|
|
2023-11-22 15:33:16 -05:00
|
|
|
home.packages =
|
|
|
|
(with pkgs.python311Packages; [
|
|
|
|
python
|
|
|
|
pyclip
|
|
|
|
])
|
|
|
|
++ (with pkgs.plasma5Packages; [
|
|
|
|
ark
|
|
|
|
kcharselect
|
|
|
|
kdenlive
|
|
|
|
okular
|
2023-10-08 14:42:43 -04:00
|
|
|
|
2023-11-22 15:33:16 -05:00
|
|
|
# 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
|
|
|
|
])
|
|
|
|
++ (with pkgs; [
|
|
|
|
# School
|
|
|
|
virt-manager
|
|
|
|
bluej
|
|
|
|
#camunda-modeler
|
2023-09-29 23:46:34 -04:00
|
|
|
|
2023-11-22 15:33:16 -05:00
|
|
|
# Misc Apps
|
|
|
|
thunderbird # TODO: use programs.thunderbird
|
|
|
|
spotifywm
|
|
|
|
zeal
|
|
|
|
libreoffice-fresh # TODO: add spelling stuff and declarative conf?
|
|
|
|
photoqt
|
|
|
|
gimp-with-plugins # TODO: set plugins using nix
|
|
|
|
vlc
|
|
|
|
nextcloud-client
|
|
|
|
jellyfin-media-player
|
|
|
|
xournalpp
|
|
|
|
(pkgs.discord.override {
|
|
|
|
withOpenASAR = true;
|
|
|
|
withVencord = true;
|
|
|
|
})
|
|
|
|
prismlauncher-qt5
|
2023-10-03 15:25:34 -04:00
|
|
|
|
2023-11-22 15:33:16 -05:00
|
|
|
# Misc CLI
|
|
|
|
acpi
|
|
|
|
alsa-utils
|
|
|
|
fontfor
|
2023-10-03 15:25:34 -04:00
|
|
|
|
2023-11-22 15:33:16 -05:00
|
|
|
(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-03 15:25:34 -04:00
|
|
|
|
|
|
|
xdg.desktopEntries.gparted = {
|
|
|
|
name = "GParted";
|
|
|
|
genericName = "Partition Editor";
|
|
|
|
comment = "Create, reorganize, and delete partitions";
|
|
|
|
exec = "Gparted";
|
|
|
|
icon = "gparted";
|
|
|
|
terminal = false;
|
|
|
|
type = "Application";
|
2023-11-22 15:33:16 -05:00
|
|
|
categories = ["GNOME" "System" "Filesystem"];
|
2023-10-03 15:25:34 -04:00
|
|
|
startupNotify = true;
|
|
|
|
settings = {
|
|
|
|
Keywords = "Partition";
|
|
|
|
X-GNOME-FullName = "GParted Partition Editor";
|
|
|
|
};
|
|
|
|
};
|
2023-06-26 17:29:17 -04:00
|
|
|
}
|