22 lines
442 B
Nix
Executable File
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 {
|
|
|
|
};
|
|
}
|