Add vps ssh config
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -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";
|
||||||
|
@@ -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";
|
||||||
|
@@ -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";
|
||||||
|
@@ -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 = {
|
||||||
|
Reference in New Issue
Block a user