Refactor
This commit is contained in:
parent
f7e2f579d6
commit
6a3e77e142
6
nix.nix
6
nix.nix
|
@ -19,12 +19,6 @@
|
||||||
networking = {
|
networking = {
|
||||||
firewall = {
|
firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [
|
|
||||||
22
|
|
||||||
80
|
|
||||||
443
|
|
||||||
2222
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
2
ssh.nix
2
ssh.nix
|
@ -6,6 +6,8 @@
|
||||||
openssh.authorizedKeys.keyFiles = [ /root/.ssh/kamov.pub ];
|
openssh.authorizedKeys.keyFiles = [ /root/.ssh/kamov.pub ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking.firewall.allowedTCPPorts = [ 22 2222 ];
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
endlessh = {
|
endlessh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue