nixosMod: move sshSecurity to extends/openssh

main
Felix Stupp 1 year ago
parent 4599434969
commit 443f109ee6
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -36,7 +36,6 @@ in
./options.nix
./privacy.nix
./secrix.nix
./sshSecurity.nix
./useable.nix
./vmCommon.nix
];

@ -3,6 +3,7 @@
# files
./cpu.nix
./kernel.nix
./openssh.nix
./podman.nix
./printing.nix
];

@ -1,7 +1,6 @@
{
config,
lib,
pkgs,
...
}:
let
@ -9,9 +8,9 @@ let
in
{
options = {
options.services.openssh = {
services.openssh.authorizedKeysOnly = lib.mkEnableOption ''
authorizedKeysOnly = lib.mkEnableOption ''
only logins using ssh keys (improving over default settings)
'';
Loading…
Cancel
Save