From 2171f3c0283fbab765d5b17740d97bb9a24c4a71 Mon Sep 17 00:00:00 2001 From: reese Date: Fri, 24 Jan 2025 23:04:04 +0000 Subject: [PATCH] make recommended changes to nixos config when building i get these warnings so i fixed them: ``` evaluation warning: The option `services.openssh.passwordAuthentication' defined in `/etc/nixos/configuration.nix' has been renamed to `services.openssh.settings.PasswordAuthentication'. evaluation warning: The boot.loader.grub.version option does not have any effect anymore, please remove it from your configuration. ``` --- nixos/24.11/configuration.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nixos/24.11/configuration.nix b/nixos/24.11/configuration.nix index 9cf7b36..b2bde4b 100644 --- a/nixos/24.11/configuration.nix +++ b/nixos/24.11/configuration.nix @@ -17,7 +17,6 @@ nix.settings.experimental-features = [ "nix-command" "flakes" ]; boot.loader.grub.enable = true; - boot.loader.grub.version = 2; boot.loader.grub.device = "/dev/vda"; system.stateVersion = "24.11"; @@ -29,6 +28,6 @@ services.openssh = { enable = true; permitRootLogin = "yes"; - passwordAuthentication = true; + settings.PasswordAuthentication = true; }; } -- 2.45.2