mirror of
https://github.com/youwen5/nixos.git
synced 2025-01-19 05:32:10 -08:00
19 lines
410 B
Nix
19 lines
410 B
Nix
{ 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;
|
|
};
|
|
}
|