NixOS/system/modules/docker.nix

10 lines
143 B
Nix

{ config, lib, ... }:
let
cfg = config.profile.docker;
in
{
config = lib.mkIf cfg.enable {
virtualisation.docker.enable = true;
};
}