Files
nixconfig/modules/nixos/system/default.nix
soraefir 59cf3a8507 fix boot
2026-06-07 18:30:30 +02:00

24 lines
611 B
Nix

{ config, lib, ... }: {
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 = lib.mkForce ([
"system.slice"
"systemd-journald.socket"
"sysinit.target"
"remote-fs.target"
"nss-user-lookup.target"
"home.mount"
"basic.target"
] ++ map (user: "home-manager-${user.username}.service") config.syscfg.users);
};
}