aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/shared.nix25
1 files changed, 20 insertions, 5 deletions
diff --git a/roles/shared.nix b/roles/shared.nix
index a8bd23b..3c508ee 100644
--- a/roles/shared.nix
+++ b/roles/shared.nix
@@ -375,6 +375,7 @@
"use_path_request_style"
"url=https://s3.tammi.cc"
"passwd_file=${config.age.secrets.s3fs.path}"
+ "x-systemd.after=network-online.target"
];
};
@@ -391,6 +392,7 @@
"use_path_request_style"
"url=https://s3.tammi.cc"
"passwd_file=${config.age.secrets.s3fs.path}"
+ "x-systemd.after=network-online.target"
];
};
@@ -513,11 +515,24 @@
};
};
- systemd.network.networks."50-bluetooth-pan" = {
- matchConfig.Name = "bnep*";
- networkConfig = {
- DHCP = true;
- IPv6AcceptRA = true;
+ systemd = {
+ network = {
+ enable = true;
+ wait-online.enable = true;
+ config = {
+ networkConfig = {
+ SpeedMeter = true;
+ };
+ };
+ networks = {
+ "50-bluetooth-pan" = {
+ matchConfig.Name = "bnep*";
+ networkConfig = {
+ DHCP = true;
+ IPv6AcceptRA = true;
+ };
+ };
+ };
};
};