mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 10:29:09 +08:00
12 lines
293 B
Nix
12 lines
293 B
Nix
inputs:
|
|
{
|
|
options.nixos.services.kubo = let inherit (inputs.lib) mkOption types; in
|
|
{
|
|
enable = mkOption { type = types.bool; default = false; };
|
|
};
|
|
config = let inherit (inputs.config.nixos.services) kubo; in inputs.lib.mkIf kubo.enable
|
|
{
|
|
services.kubo.enable = true;
|
|
};
|
|
}
|