os/systemd/module.nix: init, add faster boot options
This commit is contained in:
parent
e9d8e73142
commit
8cc7f0f9cd
1 changed files with 7 additions and 0 deletions
7
modules/system/os/systemd/module.nix
Normal file
7
modules/system/os/systemd/module.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
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"]
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue