about summary refs log tree commit diff
path: root/hosts/common/desktop
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-24 19:11:25 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-24 19:11:25 -0800
commit957dc7c1d064b40a22561b768647dc03e7e25397 (patch)
tree81eafa9edbdab27004bbd6142340b748c613f35c /hosts/common/desktop
parentsway: let's drop this - I don't know what it does (diff)
downloadworld-957dc7c1d064b40a22561b768647dc03e7e25397.tar.gz
gnome: add more gnome settings
Without these settings a few things are not working correctly (nautilus
can't browse ssh servers for example).

This module needs to be renamed too.
Diffstat (limited to 'hosts/common/desktop')
-rw-r--r--hosts/common/desktop/xserver.nix15
1 files changed, 14 insertions, 1 deletions
diff --git a/hosts/common/desktop/xserver.nix b/hosts/common/desktop/xserver.nix
index db7d457..8c60093 100644
--- a/hosts/common/desktop/xserver.nix
+++ b/hosts/common/desktop/xserver.nix
@@ -17,6 +17,8 @@
     '';
   };
 
+  programs.dconf.enable = true;
+
   services = {
     dbus = {
       enable = true;
@@ -26,10 +28,15 @@
         pkgs.gnome3.gnome-keyring
       ];
     };
+
     udev.packages = [
       pkgs.gnome3.gnome-settings-daemon
     ];
-    gvfs.enable = true;
+
+    gvfs = {
+      enable = true;
+      package = pkgs.gnome.gvfs;
+    };
 
     gnome = {
       gnome-keyring.enable = true;
@@ -48,6 +55,12 @@
     pam.services.gdm.enableGnomeKeyring = true;
   };
 
+  xdg.portal = {
+    enable = true;
+    gtkUsePortal = true;
+    extraPortals = [ pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-wlr ];
+  };
+
   environment = {
     pathsToLink = [ "/libexec" ];
     homeBinInPath = true;