summaryrefslogtreecommitdiffstats
path: root/pkgs/desktops/pantheon
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2024-01-27 16:20:15 +0800
committerBobby Rong <rjl931189261@126.com>2024-03-17 13:42:33 +0800
commita4bca9aaef02c625ffcb2c11322d7a87192ac33b (patch)
tree9cb6986e409b2d5f1cf73e80e45a61ad796def6c /pkgs/desktops/pantheon
parente49a58b847a4eae91203cbaad128dc82c39f46e1 (diff)
nixos/pantheon: Add missing gala-daemon systemd services
Otherwise it doesn't autostart after user session managed by systemd.
Diffstat (limited to 'pkgs/desktops/pantheon')
-rw-r--r--pkgs/desktops/pantheon/desktop/gala/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/desktops/pantheon/desktop/gala/default.nix b/pkgs/desktops/pantheon/desktop/gala/default.nix
index 61d9c120b246..123870c356de 100644
--- a/pkgs/desktops/pantheon/desktop/gala/default.nix
+++ b/pkgs/desktops/pantheon/desktop/gala/default.nix
@@ -70,6 +70,9 @@ stdenv.mkDerivation rec {
postPatch = ''
chmod +x build-aux/meson/post_install.py
patchShebangs build-aux/meson/post_install.py
+
+ # https://github.com/elementary/gala/issues/1826#issuecomment-1890461298
+ sed '2i Wants=io.elementary.gala.daemon@.service' -i 'data/gala@x11.service.in'
'';
passthru = {