summaryrefslogtreecommitdiff
path: root/modules/pc/networking/default.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-01 06:02:50 -0700
committerFuwn <[email protected]>2024-10-01 06:02:50 -0700
commitfcddd3ba06088e235243d41395e40fd9e0107a76 (patch)
tree8b4fabd85315ec93a09842a2123a2e6e16583c75 /modules/pc/networking/default.nix
parentmodules: move shared i18n to pc (diff)
downloadnixos-config-fcddd3ba06088e235243d41395e40fd9e0107a76.tar.xz
nixos-config-fcddd3ba06088e235243d41395e40fd9e0107a76.zip
modules: move shared pc modules from desktop to pc
Diffstat (limited to 'modules/pc/networking/default.nix')
-rw-r--r--modules/pc/networking/default.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/pc/networking/default.nix b/modules/pc/networking/default.nix
new file mode 100644
index 0000000..f73f6ab
--- /dev/null
+++ b/modules/pc/networking/default.nix
@@ -0,0 +1,17 @@
+{
+ imports = [
+ ./dhcpcd.nix
+ ./loopback.nix
+ ./networkmanager.nix
+ ./optimise.nix
+ ./pia.nix
+ ./upnp.nix
+ ];
+
+ # https://discourse.nixos.org/t/rebuild-error-failed-to-start-network-manager-wait-online/41977/2
+ systemd.network.wait-online.enable = false;
+ boot.initrd.systemd.network.wait-online.enable = false;
+
+ # https://discourse.nixos.org/t/how-to-disable-networkmanager-wait-online-service-in-the-configuration-file/19963/2
+ systemd.services.NetworkManager-wait-online.enable = false;
+}