about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-07-29 18:00:00 +0900
committersefidel <contact@sefidel.net>2023-07-29 18:00:00 +0900
commitd5b9b71056a79c2ca786dae417124c41e6c42a18 (patch)
tree6be5df09a872d0c5d41ba63f26b757cd420ab027 /modules
parentdf6e5f090bbb8eaf2b4e1322aec4776f1bfdfaa9 (diff)
downloadinfra-d5b9b71056a79c2ca786dae417124c41e6c42a18.tar.gz
infra-d5b9b71056a79c2ca786dae417124c41e6c42a18.zip
feat(modules): add modules template
Diffstat (limited to 'modules')
-rw-r--r--modules/services/_template.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/services/_template.nix b/modules/services/_template.nix
new file mode 100644
index 0000000..0607784
--- /dev/null
+++ b/modules/services/_template.nix
@@ -0,0 +1,14 @@
+{ config, lib, ... }:
+
+with lib;
+let
+  cfg = config.modules.services._template;
+in
+{
+  options.modules.services._template = {
+    enable = mkEnableOption "";
+  };
+
+  config = mkIf cfg.enable {
+  };
+}