ssh: rename from openssh, update nixos module name
This commit is contained in:
parent
0c327b20ea
commit
868ffd64e4
|
@ -8,10 +8,10 @@
|
|||
./misc.nix
|
||||
./nginx.nix
|
||||
./nix.nix
|
||||
./openssh.nix
|
||||
./packages.nix
|
||||
./sanoid.nix
|
||||
./security.nix
|
||||
./ssh.nix
|
||||
./steam.nix
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.openssh = {
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
PermitRootLogin = "no";
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue