From 3cc9393acadeacd4e74faef5db8ba1018cc623f3 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sat, 24 Feb 2024 15:17:25 +0300 Subject: [PATCH] Gnome : Move settings to nix. --- .config/linux/Gnome.dconf | 1 - .config/linux/system/module/Gnome.nix | 8 +++++++- .config/linux/system/module/common/Package.nix | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.config/linux/Gnome.dconf b/.config/linux/Gnome.dconf index 1215e3c..2d59aab 100644 --- a/.config/linux/Gnome.dconf +++ b/.config/linux/Gnome.dconf @@ -139,7 +139,6 @@ unmaximize=@as [] action-middle-click-titlebar='minimize' action-right-click-titlebar='menu' button-layout='appmenu:close' -focus-mode='click' titlebar-font='SF Pro Display 11' [org/gnome/desktop/session] diff --git a/.config/linux/system/module/Gnome.nix b/.config/linux/system/module/Gnome.nix index 41a6264..d428183 100644 --- a/.config/linux/system/module/Gnome.nix +++ b/.config/linux/system/module/Gnome.nix @@ -4,7 +4,13 @@ in { # GUI. services.xserver.enable = true; services.xserver.displayManager.gdm.enable = true; - services.xserver.desktopManager.gnome.enable = true; + services.xserver.desktopManager.gnome = { + enable = true; + extraGSettingsOverrides = '' + [org/gnome/desktop/wm/preferences] + focus-mode='sloppy' + ''; + }; services.xserver.xkb = { layout = "us"; variant = ""; diff --git a/.config/linux/system/module/common/Package.nix b/.config/linux/system/module/common/Package.nix index e8191ff..1092c86 100644 --- a/.config/linux/system/module/common/Package.nix +++ b/.config/linux/system/module/common/Package.nix @@ -42,5 +42,5 @@ ]; # Special packages. - programs.adb.enable = true; + programs.adb.enable = true; }