From e55128724c4ed2b4b2e46b2c166586dc5ca5ff09 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Mon, 10 Apr 2023 23:40:31 +0530 Subject: [PATCH] no passwd for wheel --- system.rico/default.nix | 1 + system.rico/security.nix | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 system.rico/security.nix diff --git a/system.rico/default.nix b/system.rico/default.nix index 495cb94..187f975 100644 --- a/system.rico/default.nix +++ b/system.rico/default.nix @@ -4,6 +4,7 @@ ./hardware ./programs ./services + ./security.nix ]; networking.hostName = "Rico2"; diff --git a/system.rico/security.nix b/system.rico/security.nix new file mode 100644 index 0000000..dd5eadb --- /dev/null +++ b/system.rico/security.nix @@ -0,0 +1,3 @@ +{ ... }: { + security.sudo.wheelNeedsPassword = false; +}