Fixing vultr config

This commit is contained in:
marc
2024-02-03 17:41:12 +01:00
parent 06b2440df5
commit 31d93b8e19
2 changed files with 9 additions and 3 deletions

View File

@@ -17,7 +17,11 @@ with lib;
# - Bootloader --------------------------------- # - Bootloader ---------------------------------
boot.loader.systemd-boot.enable = true; boot.loader.grub = {
enable = true;
version = 2;
device = "/dev/vda";
};
# - Modules ------------------------------------ # - Modules ------------------------------------

View File

@@ -10,8 +10,10 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
services.openssh = { services.openssh = {
enable = true; enable = true;
# TODO: Use ssh keys settings = {
passwordAuthentication = true; # TODO: Use ssh keys
PasswordAuthentication = true;
};
}; };
networking.firewall.allowedTCPPorts = [ 22 ]; networking.firewall.allowedTCPPorts = [ 22 ];