about summary refs log tree commit diff
path: root/nixos/modules/programs/gpaste.nix
diff options
context:
space:
mode:
authorMaciej Krüger <mkg20001@gmail.com>2023-12-14 18:27:54 +0100
committerMaciej Krüger <mkg20001@gmail.com>2023-12-24 14:52:20 +0100
commit6698e960266f333d31b284af154ea9ef456676a5 (patch)
treea56270bf1d13fd480df96686767fb7136934ae9d /nixos/modules/programs/gpaste.nix
parentf82870a99b420b772707d190c835742f0b8550b4 (diff)
downloadnixlib-6698e960266f333d31b284af154ea9ef456676a5.tar
nixlib-6698e960266f333d31b284af154ea9ef456676a5.tar.gz
nixlib-6698e960266f333d31b284af154ea9ef456676a5.tar.bz2
nixlib-6698e960266f333d31b284af154ea9ef456676a5.tar.lz
nixlib-6698e960266f333d31b284af154ea9ef456676a5.tar.xz
nixlib-6698e960266f333d31b284af154ea9ef456676a5.tar.zst
nixlib-6698e960266f333d31b284af154ea9ef456676a5.zip
nixos/gpaste: also add to cinnamon session path - fixes #276028
This fixes gpaste-reloaded applet for cinnamon,
which requires gpaste's typelib to be accessible
Diffstat (limited to 'nixos/modules/programs/gpaste.nix')
-rw-r--r--nixos/modules/programs/gpaste.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/programs/gpaste.nix b/nixos/modules/programs/gpaste.nix
index 074b4d59a365..37172c9583a3 100644
--- a/nixos/modules/programs/gpaste.nix
+++ b/nixos/modules/programs/gpaste.nix
@@ -32,5 +32,7 @@ with lib;
     systemd.packages = [ pkgs.gnome.gpaste ];
     # gnome-control-center crashes in Keyboard Shortcuts pane without the GSettings schemas.
     services.xserver.desktopManager.gnome.sessionPath = [ pkgs.gnome.gpaste ];
+    # gpaste-reloaded applet doesn't work without the typelib
+    services.xserver.desktopManager.cinnamon.sessionPath = [ pkgs.gnome.gpaste ];
   };
 }