all repos — nixfiles @ 3a66209dfb46373934e52fecd94659523dde4778

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

Enable docker buildkit

Alan Pearce
commit

3a66209dfb46373934e52fecd94659523dde4778

parent

5347cf526d1f5cdcf8680f03fcd2a2c228efdf11

1 file changed, 10 insertions(+), 2 deletions(-)

jump to
M modules/satoshipay.nixmodules/satoshipay.nix
@@ -1,12 +1,20 @@
{ config, pkgs, fetchurl, lib, ... }: { virtualisation = { - docker = { + docker = let + daemonConfig = { + ipv6 = true; + fixed-cidr-v6 = "fd69:2074:9fcd:b0fd::/64"; + features = [ + { buildkit = true; } + ]; + }; + in { enable = true; enableOnBoot = false; liveRestore = false; - extraOptions = "--ipv6 --fixed-cidr-v6 fd69:2074:9fcd:b0fd::/64"; + extraOptions = "--config-file=${pkgs.writeText "daemon.json" (builtins.toJSON daemonConfig)}"; autoPrune = { enable = true;