diff options
Diffstat (limited to 'features/system/gui/desktops/niri.nix')
| -rw-r--r-- | features/system/gui/desktops/niri.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/features/system/gui/desktops/niri.nix b/features/system/gui/desktops/niri.nix new file mode 100644 index 0000000..c68a4b6 --- /dev/null +++ b/features/system/gui/desktops/niri.nix @@ -0,0 +1,9 @@ +{ config, lib, inputs, ... }: let + cfg = config.features.gui.desktops.niri; +in { + imports = [ inputs.niri.nixosModules.niri ]; + options.features.gui.desktops.niri.enable = lib.mkEnableOption "niri"; + config = lib.mkIf cfg.enable { + programs.niri.enable = true; + }; +} |
