fix: tor userControl conflict

This commit is contained in:
fufsob committed 2026-09-23 02:34:10 +00:00
1 parent ae8f65da2e
commit 8f65fa9c25
3 files changed
+10 -23

No files matched your search

+1 -4
View File
@@ -176,10 +176,7 @@ in
assert hmCfg.systemd.user.services ? proxy-suite-inbounds;
assert hmCfg.systemd.user.services ? proxy-suite-tor;
# Rootless, there is no userControl group to hand the control socket to.
assert
!(lib.hasInfix "proxy-suite-tor-control-dir" (
toString (hmCfg.systemd.user.services.proxy-suite-tor.Service.ExecStartPre or [ ])
));
assert !(hmCfg.systemd.user.services.proxy-suite-tor.Service ? Group);
assert forced hmCfg.systemd.user.services;
# No setpriv on a user manager: nothing to drop to.
assert