From aff5611cdbf2c0cd38658c960d30b63d977974a7 Mon Sep 17 00:00:00 2001 From: Zuckerberg Date: Tue, 7 Mar 2023 22:52:31 -0700 Subject: [PATCH] Update renamed nixos options --- common/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/common/default.nix b/common/default.nix index c5ae497..81c0053 100644 --- a/common/default.nix +++ b/common/default.nix @@ -30,7 +30,9 @@ in services.openssh = { enable = true; - passwordAuthentication = false; + settings = { + PasswordAuthentication = false; + }; }; programs.mosh.enable = true; @@ -70,7 +72,9 @@ in users.users.root = { openssh.authorizedKeys.keys = sshHigherTrustKeys; }; - nix.trustedUsers = [ "root" "googlebot" ]; + nix.settings = { + trusted-users = [ "root" "googlebot" ]; + }; nix.gc.automatic = true;