Fixing vultr config

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

No files matched your search

+5 -1
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 ------------------------------------
+4 -2
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 ];