nixos/templates/example-module/example.nix

14 lines
203 B
Nix
Raw Normal View History

2023-07-09 02:04:19 +04:00
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.example;
in
{
options.modules.example = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
};
}