From 4f5e1a0a5648f26d9972128d54ad94c6bbd1dfb1 Mon Sep 17 00:00:00 2001 From: tux Date: Fri, 8 May 2026 07:22:03 +0530 Subject: [PATCH] refactor: update ssh module to use networking namespace --- modules/hosts/sirius/config.nix | 2 +- modules/nixos/networking/ssh.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/hosts/sirius/config.nix b/modules/hosts/sirius/config.nix index 9b5d272..ac97ec6 100644 --- a/modules/hosts/sirius/config.nix +++ b/modules/hosts/sirius/config.nix @@ -18,7 +18,7 @@ tnix = { boot.secure-boot.enable = true; - services.openssh.enable = true; + networking.openssh.enable = true; virtualisation = { docker.enable = true; diff --git a/modules/nixos/networking/ssh.nix b/modules/nixos/networking/ssh.nix index 15331f5..1fe215c 100644 --- a/modules/nixos/networking/ssh.nix +++ b/modules/nixos/networking/ssh.nix @@ -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 {