Update Linode configuration in jawz.nix and adjust SSH settings

- Changed hostname reference from 'vps' to 'linode' in jawz.nix for improved clarity.
- Modified SSH service configuration in linode's configuration.nix to force start behavior.
This commit is contained in:
Danilo Reyes 2025-10-28 13:45:11 -06:00
parent f1d565225a
commit 01284154f7
2 changed files with 4 additions and 3 deletions

View File

@ -32,7 +32,7 @@ in
enable = true;
matchBlocks = {
linode = {
hostname = config.my.ips.vps;
hostname = config.my.ips.linode;
port = 3456;
identityFile = config.sops.secrets."private_keys/${hostName}".path;
};
@ -74,7 +74,7 @@ in
"miniserver"
"galaxy"
"phone"
"vps"
"linode"
];
};
}

View File

@ -1,4 +1,5 @@
{
lib,
pkgs,
config,
inputs,
@ -23,7 +24,7 @@
services.openssh = {
enable = true;
openFirewall = true;
startWhenNeeded = false;
startWhenNeeded = lib.mkForce false;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "prohibit-password";