migrates dnsc-server
This commit is contained in:
parent
ac4074245c
commit
996dc27419
15 changed files with 318 additions and 9 deletions
|
|
@ -3,7 +3,15 @@
|
|||
flake.modules.nixos.ssh =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
services.openssh.enable = true;
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
X11Forwarding = false;
|
||||
PermitRootLogin = "no";
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
home-manager.sharedModules = [
|
||||
inputs.self.modules.homeManager.ssh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue