From 05e4923703024452f15de1653d7c85b51e9eba6b Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Sun, 6 Oct 2024 12:11:51 +0200 Subject: [PATCH] core/security: disable sudo password for wheel --- system/core/default.nix | 1 + system/core/security.nix | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 system/core/security.nix diff --git a/system/core/default.nix b/system/core/default.nix index a5e2c10..75b3b6d 100644 --- a/system/core/default.nix +++ b/system/core/default.nix @@ -2,6 +2,7 @@ imports = [ ./boot.nix ./users.nix + ./security.nix ../nix ]; i18n = { diff --git a/system/core/security.nix b/system/core/security.nix new file mode 100644 index 0000000..af947a8 --- /dev/null +++ b/system/core/security.nix @@ -0,0 +1,3 @@ +{ + security.sudo.wheelNeedsPassword = false; +}