about summary refs log tree commit diff
path: root/nixos/alpha
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-02-02 00:53:23 +0900
committersefidel <contact@sefidel.net>2024-02-02 00:53:23 +0900
commit8de29756643909bb17459e842e8f9459810d2ab8 (patch)
treea70edba09763cbdcf01d9583d72ba1982a281ff7 /nixos/alpha
parent685a59103bb3db8d11e9d6108053d8972c42aa9f (diff)
downloadnixrc-8de29756643909bb17459e842e8f9459810d2ab8.tar.gz
nixrc-8de29756643909bb17459e842e8f9459810d2ab8.zip
fix(nixos): fix NetworkManager-wait-online workaround
Diffstat (limited to 'nixos/alpha')
-rw-r--r--nixos/alpha/configuration.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index b9284dc..7f416e3 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -67,9 +67,7 @@
   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
-  '';
+  systemd.services.NetworkManager-wait-online.serviceConfig.ExecStart = lib.mkForce [ "" "${pkgs.networkmanager}/bin/nm-online -q" ];
 
   programs.nm-applet.enable = true;