mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 01:09:24 +08:00
14 lines
416 B
Nix
14 lines
416 B
Nix
inputs:
|
|
{
|
|
options.nixos.services.howdy = let inherit (inputs.lib) mkOption types; in mkOption
|
|
{ type = types.nullOr (types.submodule {}); default = null; };
|
|
config = let inherit (inputs.config.nixos.services) howdy; in inputs.lib.mkIf (howdy != null)
|
|
{
|
|
services =
|
|
{
|
|
howdy = { enable = true; settings.core.detection_notice = true; };
|
|
linux-enable-ir-emitter.enable = true;
|
|
};
|
|
};
|
|
}
|