diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-09-11 09:01:41 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-09-11 09:01:41 -0700 |
commit | 6a38d4af6523aa9e5331839c231919b146812ee5 (patch) | |
tree | ece8f7f1de1525044fa6e97d57db85266c55f926 /hosts/darkstar/default.nix | |
parent | b20e35392798445181fe5cf8cc038e0d0caf95ec (diff) | |
download | nix-6a38d4af6523aa9e5331839c231919b146812ee5.tar nix-6a38d4af6523aa9e5331839c231919b146812ee5.tar.gz nix-6a38d4af6523aa9e5331839c231919b146812ee5.tar.bz2 nix-6a38d4af6523aa9e5331839c231919b146812ee5.tar.lz nix-6a38d4af6523aa9e5331839c231919b146812ee5.tar.xz nix-6a38d4af6523aa9e5331839c231919b146812ee5.tar.zst nix-6a38d4af6523aa9e5331839c231919b146812ee5.zip |
Add workaround for WAN interface not restarting correctly
Diffstat (limited to 'hosts/darkstar/default.nix')
-rw-r--r-- | hosts/darkstar/default.nix | 8 |
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" = { |