From 0e35b8a79a0255d8e7a242b65b8779f67adfa281 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Tue, 3 Jan 2023 16:17:27 +0100 Subject: [PATCH] nix-bitcoin/runAsUserCmd: remove workaround --- modules/nix-bitcoin.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/nix-bitcoin.nix b/modules/nix-bitcoin.nix index 27b7b04..3263ffe 100644 --- a/modules/nix-bitcoin.nix +++ b/modules/nix-bitcoin.nix @@ -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)"; };