From 306f35c135251e0b6760ac191c3111b030727813 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Mon, 18 Dec 2023 02:58:27 +0300 Subject: 2023-12-18 --- modules/nixos/common/systemd.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'modules/nixos/common') diff --git a/modules/nixos/common/systemd.nix b/modules/nixos/common/systemd.nix index f3d5217..3972670 100644 --- a/modules/nixos/common/systemd.nix +++ b/modules/nixos/common/systemd.nix @@ -1,4 +1,8 @@ -{pkgs, ...}: { +{ + config, + pkgs, + ... +}: { ark = { files = ["/etc/machine-id"]; directories = ["/var/lib/systemd/coredump"]; @@ -8,6 +12,14 @@ hm.systemd.user.startServices = "sd-switch"; + boot.initrd.systemd = { + enable = true; + network = { + inherit (config.systemd.network) enable; + wait-online.enable = false; + }; + }; + services.journald.extraConfig = '' SystemMaxUse=5G ''; -- cgit 1.4.1