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:
parent
f1d565225a
commit
01284154f7
@ -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"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@ -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";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user