about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nixos/alpha/configuration.nix4
-rw-r--r--nixos/haruka/configuration.nix4
2 files changed, 2 insertions, 6 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;
 
diff --git a/nixos/haruka/configuration.nix b/nixos/haruka/configuration.nix
index ef30905..dc09c2a 100644
--- a/nixos/haruka/configuration.nix
+++ b/nixos/haruka/configuration.nix
@@ -74,9 +74,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;