From 428b96ff072b810e196ea7a05b30e954f3572a38 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Fri, 14 Nov 2025 14:20:41 +0100 Subject: [PATCH] Modules/Hyprpanel: Add option to control systemd startup --- home/modules/hyprpanel/default.nix | 2 +- home/modules/hyprpanel/options.nix | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/home/modules/hyprpanel/default.nix b/home/modules/hyprpanel/default.nix index 317adf29..c2e976b3 100644 --- a/home/modules/hyprpanel/default.nix +++ b/home/modules/hyprpanel/default.nix @@ -13,7 +13,7 @@ in { config = lib.mkIf hyprpanel.enable { programs.hyprpanel = { enable = true; - systemd.enable = false; + systemd.enable = hyprpanel.systemd.enable; settings = { # diff --git a/home/modules/hyprpanel/options.nix b/home/modules/hyprpanel/options.nix index 2764eece..15574727 100644 --- a/home/modules/hyprpanel/options.nix +++ b/home/modules/hyprpanel/options.nix @@ -5,5 +5,6 @@ }: with lib; with mylib.modules; { - enable = mkEnableOption "hyprpanel"; + enable = mkEnableOption "Enable Hyprpanel"; + systemd.enable = mkEnableOption "Start using systemd"; }