about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/alpha/configuration.nix5
-rw-r--r--nixos/haruka/configuration.nix5
2 files changed, 10 insertions, 0 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index 436cbbd..3bb0f3e 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -60,6 +60,11 @@
   networking.useDHCP = false;
   networking.firewall.enable = true;
 
+  # TODO: https://github.com/NixOS/nixpkgs/issues/180175
+  systemd.services.NetworkManager-wait-online.serviceConfig.ExecStart = ''
+    ${pkgs.networkmanager}/bin/nm-online -q
+  '';
+
   programs.nm-applet.enable = true;
 
   i18n.defaultLocale = "en_US.UTF-8";
diff --git a/nixos/haruka/configuration.nix b/nixos/haruka/configuration.nix
index cc79c3b..ded7205 100644
--- a/nixos/haruka/configuration.nix
+++ b/nixos/haruka/configuration.nix
@@ -67,6 +67,11 @@
   networking.networkmanager.enable = true;
   networking.firewall.enable = true;
 
+  # TODO: https://github.com/NixOS/nixpkgs/issues/180175
+  systemd.services.NetworkManager-wait-online.serviceConfig.ExecStart = ''
+    ${pkgs.networkmanager}/bin/nm-online -q
+  '';
+
   programs.nm-applet.enable = true;
 
   i18n.defaultLocale = "en_US.UTF-8";