From 29032e12326c01d4373e5ec8aee2b10b72709239 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Sun, 8 Mar 2026 22:59:34 +0100 Subject: [PATCH] waybar: Move from the `servces` namespace to `programs` --- modules/home/desktop/hyprland/classic.nix | 2 +- modules/home/{services => programs}/waybar.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename modules/home/{services => programs}/waybar.nix (95%) diff --git a/modules/home/desktop/hyprland/classic.nix b/modules/home/desktop/hyprland/classic.nix index 1de96f5..f81c72b 100644 --- a/modules/home/desktop/hyprland/classic.nix +++ b/modules/home/desktop/hyprland/classic.nix @@ -11,6 +11,7 @@ custom = { programs = { hyprland.enable = true; + waybar.enable = true; rofi.enable = true; hyprlock.enable = true; }; @@ -18,7 +19,6 @@ services = { wpaperd.enable = true; hypridle.enable = true; - waybar.enable = true; cliphist.enable = true; }; }; diff --git a/modules/home/services/waybar.nix b/modules/home/programs/waybar.nix similarity index 95% rename from modules/home/services/waybar.nix rename to modules/home/programs/waybar.nix index c6847e9..f0e514a 100644 --- a/modules/home/services/waybar.nix +++ b/modules/home/programs/waybar.nix @@ -1,8 +1,8 @@ { config, lib, ... }: { - options.custom.services.waybar.enable = lib.mkEnableOption ""; + options.custom.programs.waybar.enable = lib.mkEnableOption ""; - config = lib.mkIf config.custom.services.waybar.enable { + config = lib.mkIf config.custom.programs.waybar.enable { programs.waybar = { enable = true; systemd.enable = true;