From 2bcd6b7ffe3fc386b0279157b847bca4f3af1f62 Mon Sep 17 00:00:00 2001 From: "Jill \"oatmealine\" Monoids" Date: Thu, 4 Jan 2024 23:31:15 +0300 Subject: [PATCH] move doas config around a bit --- home-manager/home.nix | 4 +++- nixos/security.nix | 10 ++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/home-manager/home.nix b/home-manager/home.nix index adae3bb..69ad57d 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -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 diff --git a/nixos/security.nix b/nixos/security.nix index 97064a1..093563a 100644 --- a/nixos/security.nix +++ b/nixos/security.nix @@ -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 = [ ... ];