From 5fd155231c185ebe0c28a890e5cf580dc429b21c Mon Sep 17 00:00:00 2001 From: LavaDesu Date: Sun, 18 Jun 2023 21:31:27 +0700 Subject: [PATCH] system/security: update config --- modules/system/security.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/system/security.nix b/modules/system/security.nix index a0399f0..8b48413 100644 --- a/modules/system/security.nix +++ b/modules/system/security.nix @@ -8,9 +8,11 @@ services.openssh = { enable = true; - permitRootLogin = "no"; - passwordAuthentication = false; - forwardX11 = true; + settings = { + PermitRootLogin = "no"; + PasswordAuthentication = false; + X11Forwarding = true; + }; hostKeys = [ {