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
This commit is contained in:
Jan Tojnar
2020-09-01 22:21:09 +02:00
parent c59ea8b8a0
commit 3b68a757ff
+2
View File
@@ -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 ];
};
}