Fixing vultr config
This commit is contained in:
@@ -17,7 +17,11 @@ with lib;
|
||||
|
||||
# - Bootloader ---------------------------------
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
version = 2;
|
||||
device = "/dev/vda";
|
||||
};
|
||||
|
||||
# - Modules ------------------------------------
|
||||
|
||||
|
||||
@@ -10,8 +10,10 @@ in
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
# TODO: Use ssh keys
|
||||
passwordAuthentication = true;
|
||||
PasswordAuthentication = true;
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
|
||||
Reference in New Issue
Block a user