From 9e1ba6c8587a8901d4cde02b37274b723d9f95b2 Mon Sep 17 00:00:00 2001 From: GarandPLG Date: Fri, 17 Jul 2026 17:38:13 +0200 Subject: [PATCH] Disable Noctalia plugins and refactor bar config Comment out the Noctalia-shell plugins block in host modules, introduce a "main" section for bar settings, set the bar to disabled by default, and bump the Noctalia config version to 2. --- hosts/Garand-Laptop/home-modules.nix | 26 +++++----- hosts/default/home-modules.nix | 26 +++++----- modules/home/noctalia/settings/bar.nix | 60 ++++++++++++---------- modules/home/noctalia/settings/default.nix | 2 + 4 files changed, 60 insertions(+), 54 deletions(-) diff --git a/hosts/Garand-Laptop/home-modules.nix b/hosts/Garand-Laptop/home-modules.nix index d28754d..b224dce 100644 --- a/hosts/Garand-Laptop/home-modules.nix +++ b/hosts/Garand-Laptop/home-modules.nix @@ -79,17 +79,17 @@ _: { }; }; - /* - Noctalia-shell plugins - */ - noctalia-plugins = { - mini-docker.enable = false; # Mini Docker: Manage Docker containers, images, volumes & networks - timer.enable = false; # Timer: A timer and stopwatch plugin for the bar & control center. - keybind-cheatsheet.enable = true; # Keybind Cheatsheet: Universal keyboard shortcuts keymap that automatically detects and displays keybindings for Hyprland, Niri, or MangoWC compositors. - kde-connect.enable = true; # KDE Connect: A Plugin integrating your mobile devices into a panel using KDEConnect - screen-recorder.enable = false; # Screen Recorder: Hardware-accelerated screen recording using gpu-screen-recorder with customizable video and audio settings - screenshot.enable = true; # Screenshot: Quick screenshot button in bar for Hyprland, Sway, and Niri - ntfy-notifications.enable = true; # ntfy Notifications: Subscribe to ntfy topics and receive push notifications directly in your bar, with full theming support - tailscale.enable = true; # Tailscale: Show Tailscale status in the menu bar and send/receive files via Taildrop. - }; + # /* + # Noctalia-shell plugins + # */ + # noctalia-plugins = { + # mini-docker.enable = false; # Mini Docker: Manage Docker containers, images, volumes & networks + # timer.enable = false; # Timer: A timer and stopwatch plugin for the bar & control center. + # keybind-cheatsheet.enable = true; # Keybind Cheatsheet: Universal keyboard shortcuts keymap that automatically detects and displays keybindings for Hyprland, Niri, or MangoWC compositors. + # kde-connect.enable = true; # KDE Connect: A Plugin integrating your mobile devices into a panel using KDEConnect + # screen-recorder.enable = false; # Screen Recorder: Hardware-accelerated screen recording using gpu-screen-recorder with customizable video and audio settings + # screenshot.enable = true; # Screenshot: Quick screenshot button in bar for Hyprland, Sway, and Niri + # ntfy-notifications.enable = true; # ntfy Notifications: Subscribe to ntfy topics and receive push notifications directly in your bar, with full theming support + # tailscale.enable = true; # Tailscale: Show Tailscale status in the menu bar and send/receive files via Taildrop. + # }; } diff --git a/hosts/default/home-modules.nix b/hosts/default/home-modules.nix index 7dfa0fd..692da3c 100644 --- a/hosts/default/home-modules.nix +++ b/hosts/default/home-modules.nix @@ -79,17 +79,17 @@ _: { }; }; - /* - Noctalia-shell plugins - */ - noctalia-plugins = { - mini-docker.enable = false; # Mini Docker: Manage Docker containers, images, volumes & networks - timer.enable = false; # Timer: A timer and stopwatch plugin for the bar & control center. - keybind-cheatsheet.enable = false; # Keybind Cheatsheet: Universal keyboard shortcuts keymap that automatically detects and displays keybindings for Hyprland, Niri, or MangoWC compositors. - kde-connect.enable = false; # KDE Connect: A Plugin integrating your mobile devices into a panel using KDEConnect - screen-recorder.enable = false; # Screen Recorder: Hardware-accelerated screen recording using gpu-screen-recorder with customizable video and audio settings - screenshot.enable = false; # Screenshot: Quick screenshot button in bar for Hyprland, Sway, and Niri - ntfy-notifications.enable = false; # ntfy Notifications: Subscribe to ntfy topics and receive push notifications directly in your bar, with full theming support - tailscale.enable = false; # Tailscale: Show Tailscale status in the menu bar and send/receive files via Taildrop. - }; + # /* + # Noctalia-shell plugins + # */ + # noctalia-plugins = { + # mini-docker.enable = false; # Mini Docker: Manage Docker containers, images, volumes & networks + # timer.enable = false; # Timer: A timer and stopwatch plugin for the bar & control center. + # keybind-cheatsheet.enable = false; # Keybind Cheatsheet: Universal keyboard shortcuts keymap that automatically detects and displays keybindings for Hyprland, Niri, or MangoWC compositors. + # kde-connect.enable = false; # KDE Connect: A Plugin integrating your mobile devices into a panel using KDEConnect + # screen-recorder.enable = false; # Screen Recorder: Hardware-accelerated screen recording using gpu-screen-recorder with customizable video and audio settings + # screenshot.enable = false; # Screenshot: Quick screenshot button in bar for Hyprland, Sway, and Niri + # ntfy-notifications.enable = false; # ntfy Notifications: Subscribe to ntfy topics and receive push notifications directly in your bar, with full theming support + # tailscale.enable = false; # Tailscale: Show Tailscale status in the menu bar and send/receive files via Taildrop. + # }; } diff --git a/modules/home/noctalia/settings/bar.nix b/modules/home/noctalia/settings/bar.nix index 8646e43..19ea01d 100644 --- a/modules/home/noctalia/settings/bar.nix +++ b/modules/home/noctalia/settings/bar.nix @@ -1,33 +1,37 @@ _: { programs.noctalia.settings.bar = { - enabled = true; - background_opacity = 0.0; - widget_spacing = 10; - margin_ends = 0; - scale = 0.95; - font_family = "FiraCode Nerd Font"; + enabled = false; + order = ["main"]; + "main" = { + enabled = true; + background_opacity = 0.0; + widget_spacing = 10; + margin_ends = 0; + scale = 0.95; + font_family = "FiraCode Nerd Font"; - start = [ - "launcher" - "spacer_2" - "clock" - "spacer_3" - "cpu" - "ram" - "network_rx" - "network_tx" - "sysmon" - ]; - center = ["workspaces"]; - end = [ - "tray" - "notifications" - "bluetooth" - "battery" - "recorder" - "volume" - "network" - "control-center" - ]; + start = [ + "launcher" + "spacer_2" + "clock" + "spacer_3" + "cpu" + "ram" + "network_rx" + "network_tx" + "sysmon" + ]; + center = ["workspaces"]; + end = [ + "tray" + "notifications" + "bluetooth" + "battery" + "recorder" + "volume" + "network" + "control-center" + ]; + }; }; } diff --git a/modules/home/noctalia/settings/default.nix b/modules/home/noctalia/settings/default.nix index ebbeb0c..78544f3 100644 --- a/modules/home/noctalia/settings/default.nix +++ b/modules/home/noctalia/settings/default.nix @@ -1,4 +1,6 @@ _: { + programs.noctalia.settings.config_version = 2; + imports = [ ./notification ./plugins