diff options
| author | adikro <adikro@disroot.org> | 2026-02-03 22:58:50 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2026-02-03 22:58:50 +0100 |
| commit | eb95abfc230dc239122f1e89e90cd9a998491a2f (patch) | |
| tree | 9d60efacf83b97059f6300e360be2248f8e9c57e /hm/env/waybar.nix | |
| parent | e5036417abe5d3597792f869e2831decd50eba5d (diff) | |
...
Diffstat (limited to 'hm/env/waybar.nix')
| -rw-r--r-- | hm/env/waybar.nix | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/hm/env/waybar.nix b/hm/env/waybar.nix index 182a4fb..b75cc91 100644 --- a/hm/env/waybar.nix +++ b/hm/env/waybar.nix @@ -1,12 +1,18 @@ -{ config, lib, ... }: -let - cfg = config.hm.env.waybar; -in { + config, + lib, + ... +}: let + cfg = config.hm.env.waybar; +in { options.hm.env.waybar.enable = lib.mkEnableOption "enables waybar"; config = lib.mkIf cfg.enable { programs.waybar = { enable = true; + systemd = { + enable = true; + target = "graphical-session.target"; + }; }; }; } |
