removing unnecessary code (#41)
* removing unnecessary code * replaced some of the code * removed endlessh-go from jeeves-jr
This commit is contained in:
parent
5d2f5934f8
commit
2305974694
@ -3,11 +3,10 @@
|
||||
{
|
||||
config = {
|
||||
services = {
|
||||
|
||||
openssh = lib.mkIf config.services.gitea.enable {
|
||||
extraConfig = ''
|
||||
Match User gitea
|
||||
AllowAgentForwarding no
|
||||
AllowTcpForwarding no
|
||||
PermitTTY no
|
||||
X11Forwarding no
|
||||
'';
|
||||
|
@ -68,6 +68,7 @@
|
||||
PermitEmptyPasswords = "no";
|
||||
PermitRootLogin = "no";
|
||||
TcpKeepAlive = "no";
|
||||
X11Forwarding = lib.mkDefault false;
|
||||
|
||||
KexAlgorithms = [
|
||||
"curve25519-sha256@libssh.org"
|
||||
|
@ -64,11 +64,6 @@
|
||||
services = {
|
||||
nfs.server.enable = true;
|
||||
|
||||
endlessh-go = {
|
||||
enable = true;
|
||||
port = 22;
|
||||
};
|
||||
|
||||
openssh.ports = [ 352 ];
|
||||
|
||||
smartd.enable = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user