mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2026-06-17 02:06:32 +05:30
refactor: update ssh module to use networking namespace
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user