all repos — nixfiles @ 22326de1c86776a612f2012c26d30abc1b122d8b

System and user configuration, managed by nix and home-manager

system/settings/programs/docker.nix (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ pkgs, ... }: {
  virtualisation.containers = {
    enable = true;
  };
  virtualisation.docker = {
    enable = false;
    storageDriver = "overlay2";
    rootless = {
      enable = true;
      setSocketVariable = true;
      daemon.settings = {
        fixed-cidr-v6 = "fd0c::/80";
        ipv6 = true;
        dns = [
          "1.0.0.1"
          "1.1.1.1"
        ];
      };
    };
  };
}