mirror of
https://github.com/kmein/niveum
synced 2026-03-20 12:01:06 +01:00
fix(docker): go around ICE wifi
This commit is contained in:
@@ -1,5 +1,12 @@
|
|||||||
{ pkgs, ... }: {
|
{ lib, pkgs, ... }: {
|
||||||
virtualisation.docker.enable = true;
|
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" ];
|
users.users.me.extraGroups = [ "docker" ];
|
||||||
environment.systemPackages = [ pkgs.docker pkgs.docker_compose ];
|
environment.systemPackages = [ pkgs.docker pkgs.docker_compose ];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user