arhcive use ssh service instead of hand-rolling
This commit is contained in:
parent
66ccea1487
commit
d7336679c4
1 changed files with 1 additions and 7 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue