all repos — dotfiles @ 0f83f519e2bdd75b74650a02015e6d9300d33e8f

my *nix dotfiles

nix/denna: enable doas
Anirudh Oppiliappan x@icyphox.sh
Mon, 10 Jun 2024 21:38:00 +0300
commit

0f83f519e2bdd75b74650a02015e6d9300d33e8f

parent

4cf9dfb08e52633880b6567077442df1244c5d81

1 files changed, 11 insertions(+), 0 deletions(-)

jump to
M hosts/denna/configuration.nixhosts/denna/configuration.nix

@@ -43,6 +43,17 @@ intel-compute-runtime

]; }; + security = { + doas.enable = true; + sudo.enable = true; + doas.extraConfig = '' + permit nopass :wheel + ''; + doas.extraRules = [{ + users = [ "icy" ]; + }]; + }; + users.users.icy = { isNormalUser = true; description = "icy";