sisyphus/nixos/modules/virtualisation/docker/default.nix

12 lines
246 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
let
cfg = config.sisyphus.virtualisation.docker;
in {
options.sisyphus.virtualisation.docker.enable = lib.mkEnableOption "Docker";
config = lib.mkIf cfg.enable {
virtualisation.docker.enable = true;
};
}