mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nixos/sudo: use doas
This commit is contained in:
parent
fb527f7dce
commit
e1407ff24e
1 changed files with 7 additions and 4 deletions
|
|
@ -1,5 +1,8 @@
|
|||
{
|
||||
security.sudo.extraConfig = ''
|
||||
Defaults lecture = always
|
||||
'';
|
||||
{pkgs, ...}: {
|
||||
security.doas.enable = true;
|
||||
security.sudo.enable = false;
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.doas-sudo-shim
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue