1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 02:43:24 +03:00

examples/jumpdrive: Ensure SSH is available

This commit is contained in:
Samuel Dionne-Riel 2021-01-04 01:15:45 -05:00
parent dd243bd1f2
commit c3ca0d0b3c

View File

@ -19,6 +19,11 @@ in
add_dependency(:Target, :Graphics)
add_dependency(:Mount, "/run")
add_dependency(:Files, "/dev/input")
# Ensures networking and SSH works
add_dependency(:Target, :Networking)
add_dependency(:Task, Tasks::DropbearSSHD.instance)
# Ensure this runs before SwitchRoot happens.
# Otherwise this could never be ran!
Tasks::SwitchRoot.instance.add_dependency(:Task, self)