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 ripgrep jq
# nix # nix
nil nix-output-monitor nil nix-output-monitor
# dev
sqlitebrowser sqlite-interactive
# system # system
btop sysstat lm_sensors ethtool pciutils usbutils powertop killall btop sysstat lm_sensors ethtool pciutils usbutils powertop killall
# debug # debug
strace ltrace lsof strace ltrace lsof
# apps # apps
vivaldi telegram-desktop onlyoffice-bin gnome.gnome-tweaks discord vivaldi telegram-desktop onlyoffice-bin gnome.gnome-tweaks discord mpv
# misc # misc
cowsay file which tree gnused grc cowsay file which tree gnused grc
# um # um

View File

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