chore: disable kbd

This commit is contained in:
notohh 2023-04-26 21:21:46 -04:00
parent 96201adbda
commit c2c6ea00a7
Signed by: notohh
GPG key ID: BD47506D475EE86D
2 changed files with 2 additions and 1 deletions

View file

@ -25,11 +25,11 @@
builders-use-substitutes = true; builders-use-substitutes = true;
keep-derivations = true; keep-derivations = true;
keep-outputs = true; keep-outputs = true;
trusted-users = ["root" "@wheel"];
substituters = [ substituters = [
"https://hyprland.cachix.org" "https://hyprland.cachix.org"
"https://cache.nixos.org" "https://cache.nixos.org"
]; ];
trusted-users = ["root" "@wheel"];
trusted-public-keys = [ trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="

View file

@ -2,6 +2,7 @@
services.openssh = { services.openssh = {
enable = true; enable = true;
settings = { settings = {
KbdInteractiveAuthentication = false;
PasswordAuthentication = false; PasswordAuthentication = false;
PubkeyAuthentication = true; PubkeyAuthentication = true;
PermitRootLogin = "no"; PermitRootLogin = "no";