fix: take userborn into consideration

This commit is contained in:
oluceps 2024-09-08 02:43:11 +08:00 committed by oluceps
parent e474aa1a4b
commit 5c17dedc81
No known key found for this signature in database

View file

@ -17,7 +17,7 @@ with lib; let
sysusersEnabled =
if isDarwin
then false
else options.systemd ? sysusers && config.systemd.sysusers.enable;
else options.systemd ? sysusers && (config.systemd.sysusers.enable || config.services.userborn.enable);
mountCommand =
if isDarwin