mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 04:48:13 +09:00
14 lines
273 B
Nix
14 lines
273 B
Nix
{ lib, config, ... }:
|
|
let
|
|
cfg = config.my.features.services.container;
|
|
in
|
|
{
|
|
options.my.features.services.container = {
|
|
enable = lib.mkEnableOption "Container runtime (Docker)";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
my.applications.docker.enable = true;
|
|
};
|
|
}
|