From c2c6ea00a7758c92946ada2715ee948b9d3cbd22 Mon Sep 17 00:00:00 2001 From: notohh Date: Wed, 26 Apr 2023 21:21:46 -0400 Subject: [PATCH] chore: disable kbd --- modules/nix.nix | 2 +- modules/openssh.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/nix.nix b/modules/nix.nix index 1cf7879..ed72eb2 100644 --- a/modules/nix.nix +++ b/modules/nix.nix @@ -25,11 +25,11 @@ builders-use-substitutes = true; keep-derivations = true; keep-outputs = true; + trusted-users = ["root" "@wheel"]; substituters = [ "https://hyprland.cachix.org" "https://cache.nixos.org" ]; - trusted-users = ["root" "@wheel"]; trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" diff --git a/modules/openssh.nix b/modules/openssh.nix index 19bfa90..04caab9 100644 --- a/modules/openssh.nix +++ b/modules/openssh.nix @@ -2,6 +2,7 @@ services.openssh = { enable = true; settings = { + KbdInteractiveAuthentication = false; PasswordAuthentication = false; PubkeyAuthentication = true; PermitRootLogin = "no";