mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-08 05:49:25 -06:00
chore: init
This commit is contained in:
commit
1b2c1ea359
891 changed files with 37053 additions and 0 deletions
25
modules/nixos/core/doas/default.nix
Executable file
25
modules/nixos/core/doas/default.nix
Executable file
|
|
@ -0,0 +1,25 @@
|
|||
{ flake, ... }:
|
||||
let
|
||||
inherit (flake.config.people)
|
||||
user0
|
||||
user1
|
||||
;
|
||||
in
|
||||
{
|
||||
security = {
|
||||
doas = {
|
||||
enable = true;
|
||||
extraRules = [
|
||||
{
|
||||
keepEnv = true;
|
||||
noPass = true;
|
||||
users = [
|
||||
user0
|
||||
user1
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
# sudo.enable = false;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue