fix(dolphin): add user service
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
503dd6bc11
commit
eb2c99313e
1 changed files with 16 additions and 0 deletions
|
@ -9,6 +9,22 @@ in {
|
||||||
plasma5Packages.kio-admin
|
plasma5Packages.kio-admin
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
home-manager.users.${mainUser}.home.packages = with pkgs;
|
home-manager.users.${mainUser}.home.packages = with pkgs;
|
||||||
[]
|
[]
|
||||||
++ (with pkgs.plasma5Packages; [
|
++ (with pkgs.plasma5Packages; [
|
||||||
|
|
Loading…
Reference in a new issue