Merge fort-nix/nix-bitcoin#626: secure-node: add sudo shell alias for doas

5eaf104efe secure-node: add `sudo` shell alias for `doas` (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK 5eaf104efe

Tree-SHA512: a53121599a36318e76a63a74b912fed1d315365dcb19c476a1f1b75a684f9b9c49c22946081e86d11743b749850b58d19f90eb51214f5006bc2d5bd2a0ffa402
This commit is contained in:
Jonas Nick 2023-07-12 15:44:37 +00:00
commit e504def824
No known key found for this signature in database
GPG Key ID: 4861DBF262123605

View File

@ -25,6 +25,7 @@ in {
# Use doas instead of sudo
security.doas.enable = true;
security.sudo.enable = false;
environment.shellAliases.sudo = "doas";
environment.systemPackages = with pkgs; [
jq