From d5b9b71056a79c2ca786dae417124c41e6c42a18 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 29 Jul 2023 18:00:00 +0900 Subject: feat(modules): add modules template --- modules/services/_template.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 modules/services/_template.nix 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 { + }; +} -- cgit 1.4.1