From 4735739ad952c09822ea06b812927b63dd1e6d6b Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sun, 9 Jul 2023 01:04:19 +0300 Subject: [PATCH] git shut up im adding everything --- templates/example-module/example.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 templates/example-module/example.nix 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 { + }; +}