summaryrefslogtreecommitdiff
path: root/tests/docker/docker-native.nix
blob: d6f76f0472791a68a7e3cdb78bf79ed9cb215c04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  imports = [
    <nixos-wsl/modules>
  ];

  wsl.enable = true;
  wsl.nativeSystemd = false;

  users.users.nixos.extraGroups = [ "docker" ];

  virtualisation.docker = {
    enable = true;
    # Github Actions runners try to use aufs and fail if this is not set explicitly
    daemon.settings."storage-driver" = "vfs";
  };
}