From 04da32db274b0ddd77c2ca6b4f60da8d5685cfe2 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 15 May 2021 22:19:38 +0200 Subject: surtr: no sudo lecture --- hosts/surtr/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hosts/surtr') diff --git a/hosts/surtr/default.nix b/hosts/surtr/default.nix index d37646f9..d87e832b 100644 --- a/hosts/surtr/default.nix +++ b/hosts/surtr/default.nix @@ -103,5 +103,9 @@ users.groups."ssh" = { members = ["root"]; }; + + security.sudo.extraConfig = '' + Defaults lecture = never + ''; }; } -- cgit v1.2.3