diff --git a/templates/example-module/example.nix b/templates/example-module/example.nix new file mode 100644 index 00000000..9a4ed290 --- /dev/null +++ b/templates/example-module/example.nix @@ -0,0 +1,13 @@ +{ outputs, options, config, lib, pkgs, ...}: +with lib; +let + cfg = config.modules.example; +in +{ + options.modules.example = { + enable = mkEnableOption false; + }; + + config = mkIf cfg.enable { + }; +}