move doas config around a bit

This commit is contained in:
Jill 2024-01-04 23:31:15 +03:00
parent 63d12637d9
commit 2bcd6b7ffe
2 changed files with 7 additions and 7 deletions

View File

@ -29,12 +29,14 @@
ripgrep jq
# nix
nil nix-output-monitor
# dev
sqlitebrowser sqlite-interactive
# system
btop sysstat lm_sensors ethtool pciutils usbutils powertop killall
# debug
strace ltrace lsof
# apps
vivaldi telegram-desktop onlyoffice-bin gnome.gnome-tweaks discord
vivaldi telegram-desktop onlyoffice-bin gnome.gnome-tweaks discord mpv
# misc
cowsay file which tree gnused grc
# um

View File

@ -1,11 +1,9 @@
{
#security.sudo.enable = false;
security.doas = {
enable = true;
extraRules = [
{ users = [ "oatmealine" ]; noPass = true; persist = false; keepEnv = true; }
];
};
security.doas.enable = true;
security.doas.extraRules = [
{ users = [ "oatmealine" ]; noPass = true; persist = false; keepEnv = true; }
];
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];