refactor: update ssh module to use networking namespace

This commit is contained in:
tux
2026-05-08 07:22:03 +05:30
parent 7eb7ea75c0
commit 4f5e1a0a56
2 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@
tnix = {
boot.secure-boot.enable = true;
services.openssh.enable = true;
networking.openssh.enable = true;
virtualisation = {
docker.enable = true;

View File

@@ -7,10 +7,10 @@
}:
with lib;
let
cfg = config.tnix.services.openssh;
cfg = config.tnix.networking.openssh;
in
{
options.tnix.services.openssh = {
options.tnix.networking.openssh = {
enable = mkEnableOption "Enable OpenSSH server";
ports = mkOption {