diff options
author | sefidel <contact@sefidel.net> | 2024-01-15 21:33:35 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-01-15 21:33:35 +0900 |
commit | e8d1f6fcb7e0a950c9278f1be85cc863fb4bcc8d (patch) | |
tree | d700a873c5d0075ad144eb8a857b419d5564ee3c /nixos/alpha | |
parent | aa9f3f09d4e09ae25b054c68aab4342e54fdfbf4 (diff) | |
download | nixrc-e8d1f6fcb7e0a950c9278f1be85cc863fb4bcc8d.tar.gz nixrc-e8d1f6fcb7e0a950c9278f1be85cc863fb4bcc8d.zip |
fix(nixos): work around nm-online
* This makes NetworkManager-wait-online service only wait for the network to be reachable, instead of waiting for the startup to complete.
Diffstat (limited to 'nixos/alpha')
-rw-r--r-- | nixos/alpha/configuration.nix | 5 |
1 files changed, 5 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"; |