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 = { tnix = {
boot.secure-boot.enable = true; boot.secure-boot.enable = true;
services.openssh.enable = true; networking.openssh.enable = true;
virtualisation = { virtualisation = {
docker.enable = true; docker.enable = true;

View File

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