Gnome : Move settings to nix.

This commit is contained in:
Dmitry Voronin 2024-02-24 15:17:25 +03:00
parent ede007d4b5
commit 3cc9393aca
3 changed files with 8 additions and 3 deletions

View file

@ -139,7 +139,6 @@ unmaximize=@as []
action-middle-click-titlebar='minimize' action-middle-click-titlebar='minimize'
action-right-click-titlebar='menu' action-right-click-titlebar='menu'
button-layout='appmenu:close' button-layout='appmenu:close'
focus-mode='click'
titlebar-font='SF Pro Display 11' titlebar-font='SF Pro Display 11'
[org/gnome/desktop/session] [org/gnome/desktop/session]

View file

@ -4,7 +4,13 @@ in {
# GUI. # GUI.
services.xserver.enable = true; services.xserver.enable = true;
services.xserver.displayManager.gdm.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 = { services.xserver.xkb = {
layout = "us"; layout = "us";
variant = ""; variant = "";

View file

@ -42,5 +42,5 @@
]; ];
# Special packages. # Special packages.
programs.adb.enable = true; programs.adb.enable = true;
} }