From 3b68a757ffc5321eccfed186af17037adff10b62 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Tue, 1 Sep 2020 22:21:09 +0200 Subject: nixos/gpaste: return sessionPath GPaste ships keybindings for gnome-control-center. Those depend on GSettings schemas but there is currently no mechanism for loading schemas other than using global ones from $XDG_DATA_DIRS. Eventually, I want to add such mechanism but until then, let's return the impure sessionPath option that was removed in https://github.com/NixOS/nixpkgs/commit/f63d94eba340c05cd241c478deb518204514fce8 --- nixos/modules/programs/gpaste.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nixos/modules/programs/gpaste.nix') diff --git a/nixos/modules/programs/gpaste.nix b/nixos/modules/programs/gpaste.nix index 4f6deb77e5eb..8bc52c28d814 100644 --- a/nixos/modules/programs/gpaste.nix +++ b/nixos/modules/programs/gpaste.nix @@ -30,5 +30,7 @@ with lib; environment.systemPackages = [ pkgs.gnome3.gpaste ]; services.dbus.packages = [ pkgs.gnome3.gpaste ]; systemd.packages = [ pkgs.gnome3.gpaste ]; + # gnome-control-center crashes in Keyboard Shortcuts pane without the GSettings schemas. + services.xserver.desktopManager.gnome3.sessionPath = [ pkgs.gnome3.gpaste ]; }; } -- cgit 1.4.1