This commit is contained in:
soraefir
2026-06-07 18:30:30 +02:00
parent da037f476f
commit 59cf3a8507

View File

@@ -1,4 +1,4 @@
{ config, ... }: { { config, lib, ... }: {
imports = [ ./dbus ./fonts ./hw ./locale ./network ./nix ./security ./xdg ]; imports = [ ./dbus ./fonts ./hw ./locale ./network ./nix ./security ./xdg ];
services.journald.extraConfig = '' services.journald.extraConfig = ''
@@ -10,10 +10,14 @@
''; '';
systemd.services.systemd-user-sessions = { systemd.services.systemd-user-sessions = {
after = let after = lib.mkForce ([
# Fall back to an empty list if it's somehow not defined yet "system.slice"
currentAfter = config.systemd.services.systemd-user-sessions.after or []; "systemd-journald.socket"
in "sysinit.target"
builtins.filter (service: service != "network.target") currentAfter; "remote-fs.target"
"nss-user-lookup.target"
"home.mount"
"basic.target"
] ++ map (user: "home-manager-${user.username}.service") config.syscfg.users);
}; };
} }