From 8de29756643909bb17459e842e8f9459810d2ab8 Mon Sep 17 00:00:00 2001 From: sefidel Date: Fri, 2 Feb 2024 00:53:23 +0900 Subject: fix(nixos): fix NetworkManager-wait-online workaround --- nixos/alpha/configuration.nix | 4 +--- nixos/haruka/configuration.nix | 4 +--- 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; -- cgit 1.4.1