diff --git a/examples/arhcive.nix b/examples/arhcive.nix index 418041f..11601c9 100644 --- a/examples/arhcive.nix +++ b/examples/arhcive.nix @@ -28,6 +28,7 @@ in rec { ../modules/wlan.nix ../modules/network ../modules/vlan + ../modules/ssh ]; hostname = "arhcive"; diff --git a/examples/extneder.nix b/examples/extneder.nix index db5dc8a..7d25715 100644 --- a/examples/extneder.nix +++ b/examples/extneder.nix @@ -29,6 +29,7 @@ in rec { ../modules/network ../modules/hostapd ../modules/bridge + ../modules/ssh ../modules/standard.nix ]; @@ -100,13 +101,7 @@ in rec { ]; }; - services.sshd = longrun { - name = "sshd"; - run = '' - mkdir -p /run/dropbear - ${dropbear}/bin/dropbear -E -P /run/dropbear.pid -R -F - ''; - }; + services.sshd = svc.ssh.build {}; services.resolvconf = oneshot rec { dependencies = [ services.dhcpc ];