proper ssh port
This commit is contained in:
@@ -72,6 +72,8 @@
|
|||||||
age.keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt";
|
age.keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt";
|
||||||
defaultSopsFile = ./secrets.yaml;
|
defaultSopsFile = ./secrets.yaml;
|
||||||
defaultSopsFormat = "yaml";
|
defaultSopsFormat = "yaml";
|
||||||
|
|
||||||
|
#secrets."remoteBuildKey" = {};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.mpris-proxy.enable = true;
|
services.mpris-proxy.enable = true;
|
||||||
@@ -84,19 +86,14 @@
|
|||||||
hostname = "esotericbytes.com";
|
hostname = "esotericbytes.com";
|
||||||
user = "remote-builder";
|
user = "remote-builder";
|
||||||
identityFile = "${config.home.homeDirectory}/.ssh/id_ed25519";
|
identityFile = "${config.home.homeDirectory}/.ssh/id_ed25519";
|
||||||
port = 2222;
|
port = 22;
|
||||||
};
|
};
|
||||||
|
|
||||||
"remote" = {
|
"remote" = {
|
||||||
hostname = "esotericbytes.com";
|
hostname = "esotericbytes.com";
|
||||||
user = "nathan";
|
user = "nathan";
|
||||||
identityFile = "${config.home.homeDirectory}/.ssh/id_ed25519";
|
identityFile = "${config.home.homeDirectory}/.ssh/id_ed25519";
|
||||||
port = 2222;
|
port = 22;
|
||||||
};
|
|
||||||
|
|
||||||
"esotericbytes.com" = {
|
|
||||||
hostname = "esotericbytes.com";
|
|
||||||
port = 2222;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -89,12 +89,6 @@
|
|||||||
owner = "remote-builder";
|
owner = "remote-builder";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.ssh.extraConfig = ''
|
|
||||||
Host esotericbytes.com
|
|
||||||
HostName esotericbytes.com
|
|
||||||
Port 2222
|
|
||||||
'';
|
|
||||||
|
|
||||||
sops = {
|
sops = {
|
||||||
age.keyFile = "/var/lib/sops/age/keys.txt";
|
age.keyFile = "/var/lib/sops/age/keys.txt";
|
||||||
defaultSopsFormat = "yaml";
|
defaultSopsFormat = "yaml";
|
||||||
|
|||||||
Reference in New Issue
Block a user