arhcive use ssh service instead of hand-rolling

This commit is contained in:
Daniel Barlow 2023-08-31 23:59:48 +01:00
parent 66ccea1487
commit d7336679c4

View file

@ -64,13 +64,7 @@ in rec {
dependencies = [ config.services.hostname ]; dependencies = [ config.services.hostname ];
}; };
services.sshd = longrun { services.sshd = svc.ssh.build { };
name = "sshd";
run = ''
mkdir -p /run/dropbear
${dropbear}/bin/dropbear -E -P /run/dropbear.pid -R -F
'';
};
services.watchdog = services.watchdog =
let let