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

View File

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