From d7336679c4c5dbe97d067be12208527610ceb609 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Thu, 31 Aug 2023 23:59:48 +0100 Subject: [PATCH] arhcive use ssh service instead of hand-rolling --- examples/arhcive.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/examples/arhcive.nix b/examples/arhcive.nix index 7f86b2e..418041f 100644 --- a/examples/arhcive.nix +++ b/examples/arhcive.nix @@ -64,13 +64,7 @@ in rec { dependencies = [ config.services.hostname ]; }; - 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.watchdog = let