waybar: Move from the servces namespace to programs

This commit is contained in:
SebastianStork 2026-03-08 22:59:34 +01:00
parent ce0708c0b6
commit 29032e1232
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q
2 changed files with 3 additions and 3 deletions

View file

@ -11,6 +11,7 @@
custom = { custom = {
programs = { programs = {
hyprland.enable = true; hyprland.enable = true;
waybar.enable = true;
rofi.enable = true; rofi.enable = true;
hyprlock.enable = true; hyprlock.enable = true;
}; };
@ -18,7 +19,6 @@
services = { services = {
wpaperd.enable = true; wpaperd.enable = true;
hypridle.enable = true; hypridle.enable = true;
waybar.enable = true;
cliphist.enable = true; cliphist.enable = true;
}; };
}; };

View file

@ -1,8 +1,8 @@
{ config, lib, ... }: { 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 = { programs.waybar = {
enable = true; enable = true;
systemd.enable = true; systemd.enable = true;