mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 17:49:07 +01:00
waybar: Move from the servces namespace to programs
This commit is contained in:
parent
ce0708c0b6
commit
29032e1232
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue