aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/darkstar/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/darkstar/default.nix')
-rw-r--r--hosts/darkstar/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/hosts/darkstar/default.nix b/hosts/darkstar/default.nix
index 5ceb0a6..e5fd41c 100644
--- a/hosts/darkstar/default.nix
+++ b/hosts/darkstar/default.nix
@@ -90,6 +90,14 @@
};
};
+ # this is to workaround the WAN interface not always coming up after certain rebuilds:
+ # https://github.com/NixOS/nixpkgs/issues/198267 and https://github.com/NixOS/nixpkgs/issues/195777
+ system.activationScripts = {
+ restart-udev = ''
+ ${pkgs.systemd}/bin/systemctl restart systemd-udev-trigger.service
+ '';
+ };
+
system.stateVersion = "23.11";
systemd.services."nftables-extra" = {