Commit 5918710205e1

Vincent Demeester <vincent@sbr.pm>
2021-11-19 15:52:28
systems: install buildx on system with docker enabled
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 32fbbc7
Changed files (2)
systems
modules
profiles
users
vincent
containers
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" ];
   };
 }
users/vincent/containers/default.nix
@@ -8,6 +8,5 @@
   home.packages = with pkgs; [
     skopeo
     my.manifest-tool
-    my.buildx
   ];
 }