simplify enable opts, and fix security.nix

This commit is contained in:
Reid 2024-02-28 19:02:34 -08:00
parent 06b42a1aa6
commit 5d5cd7979c
10 changed files with 34 additions and 40 deletions

View file

@ -5,11 +5,7 @@ let
cfg = config.modules.services.ssh;
in {
options.modules.services.ssh = {
enable = mkOption {
type = types.bool;
default = false;
description = "Provide system SSH support though OpenSSH.";
};
enable = mkEnableOption "enable openssh, a server for remote shell access";
requirePassword = mkOption {
type = types.bool;