forked from DGNum/liminix
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 ];
|
||||
};
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue