systemd/module.nix: faster startup
This commit is contained in:
parent
f037c63d84
commit
42ea3cb8b0
1 changed files with 8 additions and 3 deletions
|
@ -1,7 +1,12 @@
|
|||
{pkgs, ...}: {
|
||||
{lib, ...}: let
|
||||
inherit (lib.modules) mkForce;
|
||||
in {
|
||||
config.systemd = {
|
||||
# faster startup
|
||||
targets.network-online.wantedBy = pkgs.lib.mkForce []; # Normally ["multi-user.target"]
|
||||
services.NetworkManager-wait-online.wantedBy = pkgs.lib.mkForce []; # Normally ["network-online.target"]
|
||||
targets.network-online.wantedBy = mkForce []; # Normally ["multi-user.target"]
|
||||
services = {
|
||||
NetworkManager-wait-online.wantedBy = mkForce []; # Normally ["network-online.target"]
|
||||
systemd-udev-settle.enable = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue