Files
nixconfig/modules/nixos/system/default.nix
soraefir da037f476f fix
2026-06-07 18:14:03 +02:00

20 lines
569 B
Nix

{ config, ... }: {
imports = [ ./dbus ./fonts ./hw ./locale ./network ./nix ./security ./xdg ];
services.journald.extraConfig = ''
SystemMaxUse=512M
SystemMaxFileSize=64M
MaxRetentionSec=1month
RateLimitIntervalSec=30s
RateLimitBurst=10000
'';
systemd.services.systemd-user-sessions = {
after = let
# Fall back to an empty list if it's somehow not defined yet
currentAfter = config.systemd.services.systemd-user-sessions.after or [];
in
builtins.filter (service: service != "network.target") currentAfter;
};
}