feat: add niri module

This commit is contained in:
Youwen Wu 2025-01-16 21:30:58 -08:00
parent 385fd0cf1a
commit 787a4e8c41
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
4 changed files with 534 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{ lib, config, ... }:
let
cfg = config.liminalOS.desktop.niri;
in
{
options.liminalOS.desktop.niri = {
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Whether to enable and rice Niri.
'';
};
};
config = lib.mkIf cfg.enable {
xdg.configFile."niri/config.kdl".source = config.lib.file.mkOutOfStoreSymlink ./config.kdl;
};
}