Files
nix/modules/homelab/services/.template.nix
2025-10-06 21:38:49 -05:00

22 lines
442 B
Nix
Executable File

{ pkgs, config, lib, ... }:
let
cfg = config.modules.services.<name>;
in
{
options.modules.system.docker = {
enable = lib.mkEnableOption "enables <name>";
# extra options
# mode = lib.mkOption {
# type = lib.types.enum [ "server" "client" ];
# default = "client";
# description = "whether syncthing should run as a client (user) or server (system-wide).";
# };
};
config = lib.mkIf cfg.enable {
};
}