Add the doas shim for compatibility with like, a lot
This commit is contained in:
parent
9d88472a38
commit
adeb1a50ca
2 changed files with 4 additions and 4 deletions
|
@ -1,11 +1,11 @@
|
|||
{ ... }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
security = {
|
||||
sudo.enable = false;
|
||||
doas = {
|
||||
enable = true;
|
||||
extraRules = [
|
||||
{ # Give wheel root access
|
||||
{ # Specify a timeout period and keep environment variables
|
||||
groups = [ "wheel" ];
|
||||
keepEnv = true;
|
||||
persist = true;
|
||||
|
@ -13,4 +13,5 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
environment.systemPackages = with pkgs; [ doas-sudo-shim ];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue