dotfiles

My PC Dotfiles & Website
commit be1401463c2312e6925a36c977f14d86e0ba0b1c
parent 873345ba2183df535e58a9a430175f94dc466820
Author: maydayv7 <maydayv7@gmail.com>
Date:   Thu, 18 Dec 2025 01:18:01 +0530

fix: Fix Command Not Found

Also fix GNOME Extensions

Diffstat:

Mmodules/gui/desktop/gnome/settings/extensions.nix | 242+++++++++++++++++++++++++++++++++++++++++++------------------------------------
Mmodules/nix/index.nix | 5++++-
Mmodules/shell/default.nix | 1-
3 files changed, 136 insertions(+), 112 deletions(-)

diff --git a/modules/gui/desktop/gnome/settings/extensions.nix b/modules/gui/desktop/gnome/settings/extensions.nix @@ -104,6 +104,13 @@ let settings.move-cursor = true; } { + package = fullscreen-avoider; + settings = { + move-hot-corners = true; + move-notifications = true; + }; + } + { package = gamemode-shell-extension; name = "gamemodeshellextension"; settings.show-icon-only-when-active = true; @@ -124,93 +131,6 @@ let settings.name = mkForce "custom"; } { - package = fullscreen-avoider; - settings = { - move-hot-corners = true; - move-notifications = true; - }; - } - { - package = window-title-is-back; - settings = { - colored-icon = true; - show-icon = false; - show-title = false; - }; - } - { - package = brightness-control-using-ddcutil; - settings = { - button-location = 1; - ddcutil-binary-path = getExe pkgs.ddcutil; - hide-system-indicator = true; - increase-brightness-shortcut = [ "<Shift>XF86MonBrightnessUp" ]; - decrease-brightness-shortcut = [ "<Shift>XF86MonBrightnessDown" ]; - }; - } - { - package = emoji-copy; - settings = { - active-keybind = true; - always-show = false; - emoji-keybind = [ "<Super><Shift>e" ]; - paste-on-select = true; - }; - } - { - package = user-avatar-in-quick-settings; - name = "quick-settings-avatar"; - settings = { - avatar-position = 1; - avatar-realname = false; - avatar-size = 56; - }; - } - { - package = focus-changer; - settings = { - focus-down = [ "<Super>s" ]; - focus-left = [ "<Super>a" ]; - focus-right = [ "<Super>d" ]; - focus-up = [ "<Super>w" ]; - }; - } - { - package = vitals; - settings = { - hot-sensors = [ "_default_icon_" ]; - show-battery = true; - show-storage = false; - show-gpu = true; - include-static-gpu-info = false; - }; - } - { - package = workspace-switcher-manager; - settings = { - active-show-win-title = false; - active-show-ws-name = true; - inactive-show-ws-name = true; - modifiers-hide-popup = true; - monitor = 0; - popup-mode = 0; - popup-opacity = 100; - vertical = 5; - ws-ignore-last = false; - ws-wraparound = true; - }; - } - { - package = wsp-windows-search-provider; - name = "windows-search-provider"; - settings = { - custom-prefixes = "`"; - results-order = 1; - search-commands = false; - search-method = 1; - }; - } - { package = bluetooth-battery-meter; name = "Bluetooth-Battery-Meter"; settings = { @@ -229,6 +149,16 @@ let }; } { + package = brightness-control-using-ddcutil; + settings = { + button-location = 1; + ddcutil-binary-path = getExe pkgs.ddcutil; + hide-system-indicator = true; + increase-brightness-shortcut = [ "<Shift>XF86MonBrightnessUp" ]; + decrease-brightness-shortcut = [ "<Shift>XF86MonBrightnessDown" ]; + }; + } + { package = caffeine; settings = { indicator-position = 0; @@ -276,6 +206,34 @@ let }; } { + package = emoji-copy; + settings = { + active-keybind = true; + always-show = false; + emoji-keybind = [ "<Super><Shift>e" ]; + paste-on-select = true; + }; + } + { + package = focus-changer; + settings = { + focus-down = [ "<Super>s" ]; + focus-left = [ "<Super>a" ]; + focus-right = [ "<Super>d" ]; + focus-up = [ "<Super>w" ]; + }; + } + { + package = notification-configurator; + settings = { + notification-position = "center"; + block-list = "[]"; + app-themes = '' + {"poweralertd":{"appNameColor":[0.9647058844566345,0.3803921639919281,0.3176470696926117,1],"timeColor":[0.6,0.6,0.607843137,1],"backgroundColor":[0.329411765,0.329411765,0.352941176,1],"titleColor":[0.992156863,0.992156863,0.992156863,1],"bodyColor":[0.992156863,0.992156863,0.992156863,1],"appNameFontSize":18,"timeFontSize":14,"titleFontSize":14,"bodyFontSize":18}} + ''; + }; + } + { package = shortcuts; settings = { maxcolumns = 3; @@ -288,6 +246,68 @@ let }; } { + package = tasks-in-panel; + settings = { + accent-panel = false; + light-style = false; + move-date = false; + scroll-panel = false; + show-active-workspace = true; + show-activities = true; + show-favorites-menu = false; + show-focused-window = true; + show-power-profile = false; + show-recent-apps-menu = false; + show-user-id = false; + show-window-icon = false; + show-window-title = true; + show-workspaces-bar = false; + yaru-panel = false; + }; + } + { + package = tiling-shell; + name = "tilingshell"; + settings = { + enable-blur-selected-tilepreview = false; + enable-blur-snap-assistant = false; + enable-snap-assist = false; + enable-tiling-system = true; + enable-tiling-system-windows-suggestions = true; + enable-window-border = false; + override-window-menu = true; + restore-window-original-size = true; + tiling-system-activation-key = [ "0" ]; + top-edge-maximize = true; + window-border-width = mkUint32 2; + inner-gaps = mkUint32 5; + outer-gaps = mkUint32 5; + move-window-down = [ "<Shift><Super>s" ]; + move-window-left = [ "<Shift><Super>a" ]; + move-window-right = [ "<Shift><Super>d" ]; + move-window-up = [ "<Shift><Super>w" ]; + }; + } + { + package = user-avatar-in-quick-settings; + name = "quick-settings-avatar"; + settings = { + avatar-position = 1; + avatar-realname = false; + avatar-size = 56; + }; + } + { + package = vitals; + settings = { + hot-sensors = [ "_default_icon_" ]; + show-battery = true; + show-storage = false; + show-gpu = true; + include-static-gpu-info = false; + }; + } + { package = window-gestures; name = "windowgestures"; settings = { @@ -309,6 +329,31 @@ let }; } { + package = workspace-switcher-manager; + settings = { + active-show-win-title = false; + active-show-ws-name = true; + inactive-show-ws-name = true; + modifiers-hide-popup = true; + monitor = 0; + popup-mode = 0; + popup-opacity = 100; + vertical = 5; + ws-ignore-last = false; + ws-wraparound = true; + }; + } + { + package = wsp-windows-search-provider; + name = "windows-search-provider"; + settings = { + custom-prefixes = "`"; + results-order = 1; + search-commands = false; + search-method = 1; + }; + } + { package = ddterm; path = "com/github/amezin/ddterm"; settings = { @@ -335,29 +380,6 @@ let )); } { - package = tiling-shell; - name = "tilingshell"; - settings = { - enable-blur-selected-tilepreview = false; - enable-blur-snap-assistant = false; - enable-snap-assist = false; - enable-tiling-system = true; - enable-tiling-system-windows-suggestions = true; - enable-window-border = false; - override-window-menu = true; - restore-window-original-size = true; - tiling-system-activation-key = [ "0" ]; - top-edge-maximize = true; - window-border-width = mkUint32 2; - inner-gaps = mkUint32 5; - outer-gaps = mkUint32 5; - move-window-down = [ "<Shift><Super>s" ]; - move-window-left = [ "<Shift><Super>a" ]; - move-window-right = [ "<Shift><Super>d" ]; - move-window-up = [ "<Shift><Super>w" ]; - }; - } - { package = vertical-workspaces; settings = { aaa-loading-profile = true; diff --git a/modules/nix/index.nix b/modules/nix/index.nix @@ -11,7 +11,10 @@ config = lib.mkIf config.nix.index { user.homeConfig = { imports = [ inputs.index.homeModules.nix-index ]; - programs.nix-index-database.comma.enable = true; + programs = { + nix-index.enable = true; + nix-index-database.comma.enable = true; + }; }; }; } diff --git a/modules/shell/default.nix b/modules/shell/default.nix @@ -84,7 +84,6 @@ in ## Program Configuration services.lorri.enable = true; # Faster 'nix shell' programs = { - command-not-found.enable = true; # Command Not Found Search yazi.enable = true; # File Browser # Command Correction Helper