added system to dirs

This commit is contained in:
2025-10-13 22:25:43 -05:00
parent 962f44f05e
commit 8ec44dab44
12 changed files with 25 additions and 30 deletions

View File

@@ -0,0 +1,19 @@
{ pkgs, config, lib, ... }:
let
cfg = config.system.docker;
in
{
options.system.docker = {
enable = lib.mkEnableOption "enables docker";
};
config = lib.mkIf cfg.enable {
virtualisation.docker = {
enable = true;
daemon.settings = {
experimental = true;
};
};
};
}