feat: added ssh-server

This commit is contained in:
Ranomier 2025-05-08 23:44:32 +02:00
parent 7724f8cc5f
commit 55a252b632
3 changed files with 15 additions and 1 deletions

View file

@ -3,6 +3,7 @@
./apparmor.nix
./firejail.nix
./login-manager.nix
./ssh.nix
./ssh-client.nix
#./ssh-server.nix
];
}

View file

@ -0,0 +1,13 @@
{lib, ...}: {
services.openssh = {
enable = true;
ports = lib.mkDefault [38742];
settings = {
PasswordAuthentication = false;
PermitRootLogin = "yes";
X11Forwarding = true;
};
};
}