From 69dac78c2096f7df2b8b63641d71115d841c4ea5 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Fri, 20 Dec 2024 18:12:12 +0100 Subject: [PATCH] home-manager/programs/gnome: hide buttons --- .../home-manager/programs/gnome/default.nix | 63 +------------------ 1 file changed, 3 insertions(+), 60 deletions(-) diff --git a/config/home-manager/programs/gnome/default.nix b/config/home-manager/programs/gnome/default.nix index 8e7b566..839da64 100644 --- a/config/home-manager/programs/gnome/default.nix +++ b/config/home-manager/programs/gnome/default.nix @@ -1,67 +1,10 @@ -{ - pkgs, - osConfig, - config, - ... -}: { +_: { dconf = { enable = true; settings = { - "org/gnome/shell" = { - disable-user-extensions = false; # enables user extensions - enabled-extensions = [ - pkgs.gnomeExtensions.appindicator.extensionUuid - pkgs.gnomeExtensions.blur-my-shell.extensionUuid - pkgs.gnomeExtensions.emoji-copy.extensionUuid - pkgs.gnomeExtensions.clipboard-history.extensionUuid - ]; - }; - - "org/gnome/desktop/input-sources" = { - xkb-options = ["compose:ralt"]; - }; - - "org/gnome/desktop/interface" = { - enable-hot-corners = false; - color-scheme = "prefer-dark"; - }; - "org/gnome/desktop/background" = { - picture-uri-dark = "file://" + builtins.toString osConfig.local.style.wallpaper; - }; - - "org/gnome/desktop/search-providers" = { - disabled = [ - "org.gnome.Terminal.desktop" - "org.gnome.Software.desktop" - "org.gnome.seahorse.Application.desktop" - "org.gnome.clocks.desktop" - "org.gnome.Characters.desktop" - "org.gnome.Calendar.desktop" - "org.gnome.Calculator.desktop" - ]; - enabled = [ - "org.gnome.Nautilus.desktop" - "org.gnome.Settings.desktop" - ]; - }; - - "org/freedesktop/tracker/mine/files" = { - index-recursive-directories = [ - "&DESKTOP" - "&DOCUMENTS" - "&MUSIC" - "&PICTURES" - "&VIDEOS" - "${config.home.homeDirectory}/Notes" - "${config.home.homeDirectory}/Projects" - ]; + "org/gnome/desktop/wm/preferences" = { + button-layout = ""; }; }; }; - home.packages = with pkgs.gnomeExtensions; [ - appindicator - blur-my-shell - clipboard-history - emoji-copy - ]; }