From 23616c2e13f63f0262d64538032b98ce83cc0ec2 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Wed, 15 Jul 2026 20:32:36 +0530 Subject: feat: renamed the options to reflect their changed directory stucture Renamed the options for the configurations based on the sub-module that they belong to --- modules/security/ssh/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'modules/security/ssh/default.nix') diff --git a/modules/security/ssh/default.nix b/modules/security/ssh/default.nix index 7e8752a..2224f98 100644 --- a/modules/security/ssh/default.nix +++ b/modules/security/ssh/default.nix @@ -9,8 +9,13 @@ { imports = [ ./git.nix ]; - config = lib.mkIf config.programs.ssh.enable { + options.security.ssh = { + enable = lib.mkEnableOption "Enables ssh."; + }; + + config = lib.mkIf config.security.ssh.enable { programs.ssh = { + enable = true; package = pkgs.openssh; enableDefaultConfig = false; extraOptionOverrides = { -- cgit v1.2.3