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 {