about summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-08-05 05:43:48 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2019-08-05 05:43:48 -0400
commitd745487c1efe124687c3d787c09bcc2ab8303a28 (patch)
treef2bb38bd1d727a65ca5d121386d444c2eb785026 /nixos/modules/services
parent399ff42d7330c5a1a9a34485656a3afafb596a57 (diff)
downloadnixlib-d745487c1efe124687c3d787c09bcc2ab8303a28.tar
nixlib-d745487c1efe124687c3d787c09bcc2ab8303a28.tar.gz
nixlib-d745487c1efe124687c3d787c09bcc2ab8303a28.tar.bz2
nixlib-d745487c1efe124687c3d787c09bcc2ab8303a28.tar.lz
nixlib-d745487c1efe124687c3d787c09bcc2ab8303a28.tar.xz
nixlib-d745487c1efe124687c3d787c09bcc2ab8303a28.tar.zst
nixlib-d745487c1efe124687c3d787c09bcc2ab8303a28.zip
nixos/pantheon: use filechooser module
Setting GTK_CSD=1 works around the issue
we were having with this [0]

[0]: https://github.com/elementary/files/issues/971
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/x11/desktop-managers/pantheon.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/pantheon.nix b/nixos/modules/services/x11/desktop-managers/pantheon.nix
index 46a15b723e12..8e1272f3c92b 100644
--- a/nixos/modules/services/x11/desktop-managers/pantheon.nix
+++ b/nixos/modules/services/x11/desktop-managers/pantheon.nix
@@ -105,6 +105,7 @@ in
 
           # Settings from elementary-default-settings
           export GTK_CSD=1
+          export GTK_MODULES=$GTK_MODULES:pantheon-filechooser-module
       fi
     '';