Fixing vultr config
This commit is contained in:
@@ -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 ------------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -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 ];
|
||||||
|
|||||||
Reference in New Issue
Block a user