diff options
author | Patryk Niedzwiedzinski <patryk@niedzwiedzinski.cyou> | 2024-09-29 15:47:50 +0200 |
---|---|---|
committer | Patryk Niedzwiedzinski <patryk@niedzwiedzinski.cyou> | 2024-09-29 15:47:50 +0200 |
commit | 005cf54dc240ba2e20c15ee165c2dce85072e510 (patch) | |
tree | 9797d43b4ddd95f24fdd94ecab334ecff2a399a7 /machines/x220-gnome | |
parent | c1b12e82dfa6ce970fe8538f8c45b31101ef11c7 (diff) | |
download | dots-005cf54dc240ba2e20c15ee165c2dce85072e510.tar.gz dots-005cf54dc240ba2e20c15ee165c2dce85072e510.zip |
8 current 2024-09-29 15:47:48 24.05.20240914.8f7492c 6.6.51 *
Diffstat (limited to 'machines/x220-gnome')
-rw-r--r-- | machines/x220-gnome/gnome.nix | 59 |
1 files changed, 45 insertions, 14 deletions
diff --git a/machines/x220-gnome/gnome.nix b/machines/x220-gnome/gnome.nix index 37de755..e042b70 100644 --- a/machines/x220-gnome/gnome.nix +++ b/machines/x220-gnome/gnome.nix @@ -15,21 +15,52 @@ pkgs.gnome-tour ]; - services.xserver.desktopManager.gnome.extraGSettingsOverrides = '' - [org.gnome.shell] - favorite-apps = [ "brave-browser.desktop", "org.gnome.Geary.desktop", "org.gnome.Nautilus.desktop" ] - - [org.gnome.desktop.wm.keybindings] - close = ["<Super>q"] - - [org.gnome.settings-daemon.plugins.media-keys] - custom-keybindings = ["org/gnome/settings-daemon/plugins/media-keys/custom0/"] + programs.dconf = { + enable = true; + profiles.user.databases = [ + { + lockAll = true; + settings = { + "org/gnome/shell" = { + favorite-apps = [ "brave-browser.desktop" "org.gnome.Geary.desktop" "org.gnome.Nautilus.desktop" ]; + }; + + "org/gnome/desktop/wm/keybindings" = { + close = ["<Super>q"]; + }; + + "org/gnome/settings-daemon/plugins/media-keys" = { + custom-keybindings = [ + "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/" + ]; + }; + + "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = { + binding = "<Super><Enter>"; + command = "kgx"; + name = "GNOME Console"; + }; + + }; + } + ]; + }; - [org.gnome.settings-daemon.plugins.media-keys.custom0] - binding = ["<Super><Enter>"] - command = ["kgx"] - name = ["GNOME Console"] - ''; + ##services.xserver.desktopManager.gnome.extraGSettingsOverrides = '' + ##[org.gnome.shell] + ##favorite-apps = [ "brave-browser.desktop", "org.gnome.Geary.desktop", "org.gnome.Nautilus.desktop" ] +## + ##[org.gnome.desktop.wm.keybindings] + ##close = ["<Super>q"] +## + ##[org.gnome.settings-daemon.plugins.media-keys] + ##custom-keybindings = ["org/gnome/settings-daemon/plugins/media-keys/custom0/"] +## + ##[org.gnome.settings-daemon.plugins.media-keys.custom0] + ##binding = ["<Super><Enter>"] + ##command = ["kgx"] + ##name = ["GNOME Console"] + ##''; # Configure keymap in X11 services.xserver = { |