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;
|
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"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user