diff options
| author | triethyl <triethylammonium@pm.me> | 2025-09-02 10:48:21 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-09-02 10:48:21 -0400 |
| commit | 31c316d19cd974bb81a5d6de62142ff24db1c78e (patch) | |
| tree | cb941422c76cb8953830a8d58c8e14dca1a10319 /nixos/features/gui/desktops | |
| parent | 1c21018347aa277caba74e554cb8d1b1e7fc6bed (diff) | |
reorganized directory structure
Diffstat (limited to 'nixos/features/gui/desktops')
| -rw-r--r-- | nixos/features/gui/desktops/niri.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nixos/features/gui/desktops/niri.nix b/nixos/features/gui/desktops/niri.nix new file mode 100644 index 0000000..c68a4b6 --- /dev/null +++ b/nixos/features/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; + }; +} |
