14 lines
233 B
Nix
Raw Normal View History

2025-07-05 00:02:39 +02:00
{
config,
lib,
...
}:
with lib; let
2025-08-15 21:33:22 +02:00
cfg = config.mySystem.desktop.niri;
2025-07-05 00:02:39 +02:00
in {
2025-08-15 21:33:22 +02:00
options.mySystem.desktop.niri.enable = mkEnableOption "Enables Niri";
2025-07-05 00:02:39 +02:00
config.programs.niri = mkIf cfg.enable {
inherit (cfg) enable;
};
}