mirror of
https://github.com/youwen5/nixos.git
synced 2025-01-18 21:22:10 -08:00
20 lines
410 B
Nix
20 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;
|
||
|
};
|
||
|
}
|