This commit is contained in:
parent
a0575bdb2a
commit
703bf836de
210 changed files with 1 additions and 1 deletions
3
modules/openssh/enable.nix
Normal file
3
modules/openssh/enable.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
flake.modules.nixos.pc.services.openssh.enable = true;
|
||||
}
|
5
modules/openssh/firewall.nix
Normal file
5
modules/openssh/firewall.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
flake.modules.nixos.pc.services.openssh.openFirewall = lib.mkForce true;
|
||||
}
|
8
modules/openssh/settings.nix
Normal file
8
modules/openssh/settings.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
flake.modules.nixos.pc.services.openssh.settings = {
|
||||
PasswordAuthentication = false;
|
||||
PermitRootLogin = lib.mkForce "no";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue