Lot of change on structs
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.os.virtualisation.docker;
|
||||
in
|
||||
{
|
||||
options.os.virtualisation.docker = {
|
||||
enable = mkEnableOption "System docker service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
daemon.settings.features.cdi = true;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user