0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

xfce module: enable notification daemon by default (#115130)

The notification daemon is just one part of XFCE that is, to the best of
my understanding, not particularly related to it being desktop or not —
for instance, not more related than the session manager or the like.
This commit is contained in:
Léo Gaspard 2021-03-06 19:04:15 +01:00 committed by GitHub
parent db74faeb71
commit 393d300055
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ in
noDesktop = mkOption { noDesktop = mkOption {
type = types.bool; type = types.bool;
default = false; default = false;
description = "Don't install XFCE desktop components (xfdesktop, panel and notification daemon)."; description = "Don't install XFCE desktop components (xfdesktop and panel).";
}; };
enableXfwm = mkOption { enableXfwm = mkOption {
@ -98,6 +98,7 @@ in
parole parole
ristretto ristretto
xfce4-appfinder xfce4-appfinder
xfce4-notifyd
xfce4-screenshooter xfce4-screenshooter
xfce4-session xfce4-session
xfce4-settings xfce4-settings
@ -119,7 +120,6 @@ in
xfwm4 xfwm4
xfwm4-themes xfwm4-themes
] ++ optionals (!cfg.noDesktop) [ ] ++ optionals (!cfg.noDesktop) [
xfce4-notifyd
xfce4-panel xfce4-panel
xfdesktop xfdesktop
]; ];
@ -166,7 +166,8 @@ in
# Systemd services # Systemd services
systemd.packages = with pkgs.xfce; [ systemd.packages = with pkgs.xfce; [
(thunar.override { thunarPlugins = cfg.thunarPlugins; }) (thunar.override { thunarPlugins = cfg.thunarPlugins; })
] ++ optional (!cfg.noDesktop) xfce4-notifyd; xfce4-notifyd
];
}; };
} }