mirror of
https://github.com/bartvdbraak/dotfiles.git
synced 2025-06-29 12:49:10 +00:00
Restructure Configuration
This commit is contained in:
parent
af4429982d
commit
7fce1cec3f
73 changed files with 841 additions and 3504 deletions
14
nixos/modules/open-ssh.nix
Normal file
14
nixos/modules/open-ssh.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
# Enable the OpenSSH daemon.
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = false;
|
||||
PermitRootLogin = "no";
|
||||
AllowUsers = [ "bart" ];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue