Add vps ssh config

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-09-19 14:14:37 +01:00
parent 496027b505
commit 183b5e334f
4 changed files with 22 additions and 10 deletions

View File

@@ -131,6 +131,12 @@ in
identityFile = "${home}/.ssh/ssh_personal_ed25519_key"; identityFile = "${home}/.ssh/ssh_personal_ed25519_key";
}; };
"vps.karaolidis.com" = {
hostname = "vps.karaolidis.com";
user = "root";
identityFile = "${home}/.ssh/ssh_personal_ed25519_key";
};
"github.com" = { "github.com" = {
hostname = "github.com"; hostname = "github.com";
user = "git"; user = "git";

View File

@@ -75,6 +75,12 @@ in
identityFile = "${home}/.ssh/ssh_personal_ed25519_key"; identityFile = "${home}/.ssh/ssh_personal_ed25519_key";
}; };
"vps.karaolidis.com" = {
hostname = "vps.karaolidis.com";
user = "root";
identityFile = "${home}/.ssh/ssh_personal_ed25519_key";
};
"github.com" = { "github.com" = {
hostname = "github.com"; hostname = "github.com";
user = "git"; user = "git";

View File

@@ -74,6 +74,12 @@ in
identityFile = "${home}/.ssh/ssh_personal_ed25519_key"; identityFile = "${home}/.ssh/ssh_personal_ed25519_key";
}; };
"vps.karaolidis.com" = {
hostname = "vps.karaolidis.com";
user = "root";
identityFile = "${home}/.ssh/ssh_personal_ed25519_key";
};
"github.com" = { "github.com" = {
hostname = "github.com"; hostname = "github.com";
user = "git"; user = "git";

View File

@@ -10,16 +10,10 @@ let
inherit (hmConfig.virtualisation.quadlet) networks volumes containers; inherit (hmConfig.virtualisation.quadlet) networks volumes containers;
in in
{ {
networking.firewall = { networking.firewall.allowedTCPPorts = [
allowedTCPPorts = [ 80
80 443
443 ];
];
allowedUDPPorts = [
80
443
];
};
home-manager.users.${user} = { home-manager.users.${user} = {
sops = { sops = {