2023-11-24 19:08:42 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
cfg = config.sisyphus.virtualisation.docker;
|
|
|
|
in {
|
|
|
|
options.sisyphus.virtualisation.docker.enable = lib.mkEnableOption "Docker";
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
2023-12-07 20:24:37 +01:00
|
|
|
virtualisation.docker = {
|
|
|
|
enable = true;
|
|
|
|
enableNvidia = true;
|
|
|
|
};
|
2023-11-24 19:08:42 +01:00
|
|
|
};
|
|
|
|
}
|