home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 5918710205e113af6cee81dbd57335545e3e8b1b
parent 32fbbc7c91b46b3b50fe4a81f18b9b8dce0c5973
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Fri, 19 Nov 2021 15:52:28 +0100

systems: install buildx on system with docker enabled

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Msystems/modules/profiles/docker.nix | 3+++
Musers/vincent/containers/default.nix | 1-
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/systems/modules/profiles/docker.nix b/systems/modules/profiles/docker.nix @@ -42,6 +42,9 @@ in environment.etc."docker/daemon.json".text = '' {"features":{"buildkit": true}, "insecure-registries": ["172.30.0.0/16", "192.168.12.0/16", "massimo.home:5000", "r.svc.home:5000", "r.svc.home" ]} ''; + environment.systemPackages = with pkgs; [ + my.buildx + ]; networking.firewall.trustedInterfaces = [ "docker0" ]; }; } diff --git a/users/vincent/containers/default.nix b/users/vincent/containers/default.nix @@ -8,6 +8,5 @@ home.packages = with pkgs; [ skopeo my.manifest-tool - my.buildx ]; }