aboutsummaryrefslogtreecommitdiffstats
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/default.nix b/default.nix
index b0af4ff..d562380 100644
--- a/default.nix
+++ b/default.nix
@@ -79,6 +79,15 @@ let
systemd.oomd.enable = false;
systemd.tpm2.enable = false;
users.manageLingering = false;
+
+ # /var is empty on every boot, which makes these run every time,
+ # in the critical path to sysinit.target.
+ systemd.suppressedSystemUnits = [
+ "systemd-journal-catalog-update.service"
+ "systemd-update-done.service"
+ ];
+ services.journald.storage = "volatile"; # don't flush to /var/log
+ security.pam.services.login.lastlog.enable = lib.mkForce false;
};
};