14 lines
229 B
Nix
14 lines
229 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.system.desktop.niri;
|
|
in {
|
|
options.system.desktop.niri.enable = mkEnableOption "Enables Niri";
|
|
config.programs.niri = mkIf cfg.enable {
|
|
inherit (cfg) enable;
|
|
};
|
|
}
|