Skip to content

Commit bd7aac2

Browse files
committed
rework wifi on trains
1 parent bd81e3d commit bd7aac2

File tree

1 file changed

+32
-6
lines changed

1 file changed

+32
-6
lines changed

hosts/common/laptops.nix

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
networking = {
33
networkmanager = {
44
enable = true;
5-
logLevel = "DEBUG";
5+
# logLevel = "DEBUG";
66
wifi = {
77
scanRandMacAddress = false;
8-
backend = "iwd";
8+
# backend = "iwd";
99
};
1010
};
1111
firewall.allowedTCPPorts = [
@@ -21,11 +21,37 @@
2121

2222
virtualisation = {
2323
docker = {
24-
enable = true;
25-
# rootless = {
26-
# enable = true;
27-
# setSocketVariable = true;
24+
# enable = true;
25+
# daemon.settings = {
26+
# bip = "10.200.0.1/24";
27+
# default-address-pools = [
28+
# {
29+
# base = "10.201.0.0/16";
30+
# size = 24;
31+
# }
32+
# {
33+
# base = "10.202.0.0/16";
34+
# size = 24;
35+
# }
36+
# ];
2837
# };
38+
rootless = {
39+
enable = true;
40+
setSocketVariable = true;
41+
daemon.settings = {
42+
bip = "10.200.0.1/24";
43+
default-address-pools = [
44+
{
45+
base = "10.201.0.0/16";
46+
size = 24;
47+
}
48+
{
49+
base = "10.202.0.0/16";
50+
size = 24;
51+
}
52+
];
53+
};
54+
};
2955
};
3056
};
3157

0 commit comments

Comments
 (0)