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

  wsl.enable = true;
  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";
  };
}