This commit is contained in:
Schrottkatze 2023-04-10 17:54:39 +02:00
parent 9f66453c4a
commit ceccab3cb9
4 changed files with 40 additions and 39 deletions

View file

@ -41,8 +41,8 @@ with builtins;
services = {
openssh = {
passwordAuthentication = false;
kbdInteractiveAuthentication = false;
settings.PasswordAuthentication = false;
settings.KbdInteractiveAuthentication = false;
enable = true;
};
};
@ -63,10 +63,10 @@ with builtins;
home.sessionVariables.TZ = nixosConfig.time.timeZone;
};
nixpkgs.config.packageOverrides = pkgs: {
sudo = pkgs.sudo.override { withInsults = true; };
};
security.sudo.extraConfig = "Defaults insults";
#nixpkgs.config.packageOverrides = pkgs: {
#sudo = pkgs.sudo.override { withInsults = true; };
#};
#security.sudo.extraConfig = "Defaults insults";