From d99232b76069a38828a66a03b81c7a7b75768855 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Sat, 31 Jan 2026 23:45:52 +0100 Subject: [PATCH] nixos/sudo-conf: remove note for just I don't use just to manage my repo anymore --- nix/nixosModules/common/sudo-conf.nix | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/nix/nixosModules/common/sudo-conf.nix b/nix/nixosModules/common/sudo-conf.nix index 35494b1b..01dd3c2a 100644 --- a/nix/nixosModules/common/sudo-conf.nix +++ b/nix/nixosModules/common/sudo-conf.nix @@ -9,16 +9,6 @@ enable = true; 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" ]; setEnv = [ "PATH" ]; }