From 31d93b8e193e427979c475abe89c374042cfd6b7 Mon Sep 17 00:00:00 2001 From: marc Date: Sat, 3 Feb 2024 17:41:12 +0100 Subject: [PATCH] Fixing vultr config --- hosts/vultr-test/default.nix | 6 +++++- modules/system/ssh.nix | 6 ++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/hosts/vultr-test/default.nix b/hosts/vultr-test/default.nix index a9340db..ddb607e 100644 --- a/hosts/vultr-test/default.nix +++ b/hosts/vultr-test/default.nix @@ -17,7 +17,11 @@ with lib; # - Bootloader --------------------------------- - boot.loader.systemd-boot.enable = true; + boot.loader.grub = { + enable = true; + version = 2; + device = "/dev/vda"; + }; # - Modules ------------------------------------ diff --git a/modules/system/ssh.nix b/modules/system/ssh.nix index 5114a61..5f5a945 100644 --- a/modules/system/ssh.nix +++ b/modules/system/ssh.nix @@ -10,8 +10,10 @@ in config = lib.mkIf cfg.enable { services.openssh = { enable = true; - # TODO: Use ssh keys - passwordAuthentication = true; + settings = { + # TODO: Use ssh keys + PasswordAuthentication = true; + }; }; networking.firewall.allowedTCPPorts = [ 22 ];