13 lines
199 B
Nix
13 lines
199 B
Nix
{ config, lib, ... }:
|
|
let
|
|
feature = "feature";
|
|
in
|
|
{
|
|
config = lib.mkIf config.${feature}.enable {
|
|
|
|
};
|
|
|
|
imports = [ ];
|
|
|
|
options.${feature}.enable = lib.mkEnableOption "enables ${feature}";
|
|
}
|