nixosMod: move sshSecurity to extends/openssh

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

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

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

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