modules/security: disable sudo lecture
This commit is contained in:
parent
b8e20d8b3a
commit
5b17d25156
1 changed files with 6 additions and 1 deletions
|
@ -3,7 +3,12 @@ with lib;
|
||||||
with lib.hlissner;
|
with lib.hlissner;
|
||||||
{
|
{
|
||||||
# Security settings based on https://github.com/hlissner/dotfiles/blob/master/modules/security.nix
|
# Security settings based on https://github.com/hlissner/dotfiles/blob/master/modules/security.nix
|
||||||
security.acme.acceptTerms = true;
|
security = {
|
||||||
|
sudo.extraConfig = ''
|
||||||
|
Defaults lecture=never
|
||||||
|
'';
|
||||||
|
acme.acceptTerms = true;
|
||||||
|
};
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
# Make tmp volatile, using tmpfs is speedy on SSD systems
|
# Make tmp volatile, using tmpfs is speedy on SSD systems
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue