nixos/sudo-conf: remove note for just

I don't use just to manage my repo anymore
This commit is contained in:
Primrose 2026-01-31 23:45:52 +01:00
parent 2bfd250806
commit d99232b760
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -9,16 +9,6 @@
enable = true; enable = true;
extraRules = [ extraRules = [
{ {
# Invoke just with doas directly as a nixos-rebuild helper
#
# Specifiying just here is impractical, because
# - Use absolute path?
# Works only for a specific version of just binary.
# Also, for some reason, the rule won't match.
# - Use relative path?
# doas's docs says it searches in a "limited subset of PATH" if it's relative.
# I suspect that it doesn't search the PATH added ad-hoc by the nix-shell, also not a good solution.
# Also, for some reason, the rule won't match.
users = [ ":wheel" ]; users = [ ":wheel" ];
setEnv = [ "PATH" ]; setEnv = [ "PATH" ];
} }