From d11f20cc13d5a796b25f589052b5f349d885eaca Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Mon, 11 Mar 2024 23:26:54 +0300 Subject: [PATCH] Root : Disable sudo. --- module/common/Root.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/module/common/Root.nix b/module/common/Root.nix index 4fd44a28..4b907a57 100644 --- a/module/common/Root.nix +++ b/module/common/Root.nix @@ -1,6 +1,9 @@ { const, ... }: { users.users.root.hashedPassword = const.hashedPassword; - # security.sudo.extraConfig = '' - # Defaults rootpw - # ''; + security.sudo = { + enable = false; + extraConfig = '' + Defaults rootpw + ''; + }; }