nix-bitcoin/runAsUserCmd: remove workaround

This commit is contained in:
Erik Arvstedt 2023-01-03 16:17:27 +01:00
parent 00cceca861
commit 8d476cfeaf
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
1 changed files with 1 additions and 2 deletions

View File

@ -39,8 +39,7 @@ with lib;
runAsUserCmd = mkOption {
readOnly = true;
default = if config.security.doas.enable
# TODO-EXTERNAL: Use absolute path until https://github.com/NixOS/nixpkgs/pull/133622 is available.
then "/run/wrappers/bin/doas -u"
then "doas -u"
else "sudo -u";
defaultText = "(See source)";
};