diff options
Diffstat (limited to 'tests/docker/docker-native.nix')
| -rw-r--r-- | tests/docker/docker-native.nix | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/tests/docker/docker-native.nix b/tests/docker/docker-native.nix index 47ccb7f..f119482 100644 --- a/tests/docker/docker-native.nix +++ b/tests/docker/docker-native.nix @@ -1,12 +1,14 @@ -{ pkgs, lib, ... }: { - imports = [ ./base.nix ]; + imports = [ + <nixos-wsl/modules> + ]; - wsl.docker-native.enable = true; - wsl.docker-native.addToDockerGroup = true; + wsl.enable = true; + users.users.nixos.extraGroups = [ "docker" ]; - # Github Actions runners try to use aufs and fail if this is not set explicitly - virtualisation.docker.daemon.settings = { - "storage-driver" = "vfs"; + virtualisation.docker = { + enable = true; + # Github Actions runners try to use aufs and fail if this is not set explicitly + daemon.settings."storage-driver" = "vfs"; }; } |
