1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

fix(docker): go around ICE wifi

This commit is contained in:
2021-09-16 15:23:02 +02:00
parent 8af855585b
commit 136b04cb3f

View File

@@ -1,5 +1,12 @@
{ pkgs, ... }: {
virtualisation.docker.enable = true;
{ lib, pkgs, ... }: {
virtualisation.docker = {
enable = true;
# for ICE wifi, ref https://gist.github.com/sunsided/7840e89ff4e11b64a2d7503fafa0290c
extraOptions = lib.concatStringsSep " " [
"--bip=172.39.1.5/24"
"--fixed-cidr=172.39.1.0/25"
];
};
users.users.me.extraGroups = [ "docker" ];
environment.systemPackages = [ pkgs.docker pkgs.docker_compose ];
}