diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-12-18 02:58:27 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-12-18 02:58:27 +0300 |
commit | 306f35c135251e0b6760ac191c3111b030727813 (patch) | |
tree | b2425f2d7b6a8bd4da80b886945c0f2a1b25c0df /modules/nixos/common/systemd.nix | |
parent | 2023-12-15 (diff) |
2023-12-18
Diffstat (limited to '')
-rw-r--r-- | modules/nixos/common/systemd.nix | 14 |
1 files changed, 13 insertions, 1 deletions
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 ''; |