examples/configuration: show how to enable sudo/doas for operator
This was brought up by a user on IRC.
This commit is contained in:
parent
4d5bc810eb
commit
3c6a664b7b
@ -243,6 +243,10 @@
|
||||
openssh.authorizedKeys.keys = [ "" ];
|
||||
};
|
||||
|
||||
# FIXME: Uncomment this to allow the operator user to run
|
||||
# commands as root with `sudo` or `doas`
|
||||
# users.users.operator.extraGroups = [ "wheel" ];
|
||||
|
||||
# FIXME: add packages you need in your system
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
@ -261,5 +265,4 @@
|
||||
# When upgrading to a backwards-incompatible release, nix-bitcoin will display an
|
||||
# an error and provide hints for migrating your config to the new release.
|
||||
nix-bitcoin.configVersion = "0.0.51";
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user