2023-12-09 20:29:33 -05:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
2024-01-09 13:13:04 -05:00
|
|
|
}: let
|
|
|
|
inherit (config.vars) mainUser;
|
|
|
|
in {
|
2023-12-04 10:05:25 -05:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
plasma5Packages.kio-admin
|
|
|
|
];
|
|
|
|
|
2024-03-18 10:24:10 -04:00
|
|
|
# To make it work with firefox
|
|
|
|
# https://www.reddit.com/r/NixOS/comments/xtoubc/comment/koxxr3e/?utm_source=share&utm_medium=web2x&context=3
|
|
|
|
systemd.user.services.plasma-dolphin = {
|
|
|
|
unitConfig = {
|
|
|
|
Description = "Dolphin file manager";
|
|
|
|
PartOf = ["graphical-session.target"];
|
|
|
|
};
|
|
|
|
path = ["/run/current-system/sw"];
|
|
|
|
environment.QT_QPA_PLATFORM = "wayland";
|
|
|
|
serviceConfig = {
|
|
|
|
Type = "dbus";
|
|
|
|
BusName = "org.freedesktop.FileManager1";
|
|
|
|
ExecStart = "${pkgs.dolphin}/bin/dolphin";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-01-09 13:13:04 -05:00
|
|
|
home-manager.users.${mainUser}.home.packages = with pkgs;
|
2024-07-07 17:10:17 -04:00
|
|
|
[
|
|
|
|
gnome-calculator
|
|
|
|
]
|
2024-07-01 00:26:45 -04:00
|
|
|
++ (with kdePackages; [
|
|
|
|
kde-cli-tools
|
|
|
|
])
|
2024-05-05 23:07:06 -04:00
|
|
|
++ (with plasma5Packages; [
|
2023-12-04 10:05:25 -05:00
|
|
|
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
|
|
|
|
]);
|
|
|
|
}
|