diff options
author | sefidel <contact@sefidel.net> | 2023-07-29 18:00:00 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-07-29 18:00:00 +0900 |
commit | d5b9b71056a79c2ca786dae417124c41e6c42a18 (patch) | |
tree | 6be5df09a872d0c5d41ba63f26b757cd420ab027 /modules/services | |
parent | df6e5f090bbb8eaf2b4e1322aec4776f1bfdfaa9 (diff) | |
download | infra-d5b9b71056a79c2ca786dae417124c41e6c42a18.tar.gz infra-d5b9b71056a79c2ca786dae417124c41e6c42a18.zip |
feat(modules): add modules template
Diffstat (limited to 'modules/services')
-rw-r--r-- | modules/services/_template.nix | 14 |
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 { + }; +} |