Update to nixos 21.11

This commit is contained in:
Natsu Kagami 2021-12-01 13:52:13 -05:00
parent 476c25ba26
commit c41c05f45a
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
6 changed files with 30 additions and 105 deletions

View file

@ -8,17 +8,6 @@ in
options.services.X11.xfce4-notifyd.enable = mkEnableOption "Notification Manager for xfce4";
config = mkIf cfg.enable {
xdg.configFile."autostart/xfce4-notifyd.desktop" = {
# Remove the "OnlyShowIn" line
source = pkgs.runCommand "xfce4-notifyd.desktop"
{
buildInput = [ pkgs.gnused ];
preferLocalBuild = true;
} ''
sed "s/OnlyShowIn/# OnlyShowIn/g" \
< ${pkgs.xfce.xfce4-notifyd}/etc/xdg/autostart/xfce4-notifyd.desktop \
> $out
'';
};
home.packages = with pkgs; [ xfce.xfce4-notifyd ];
};
}