Netboot: Difference between revisions
imported>Erikarvstedt m update to nixpkgs 20.09 |
imported>Ichbinjoe m Building this specifies that mingetty -> getty, and then errors out - rename fixes. |
||
| Line 19: | Line 19: | ||
]; | ]; | ||
## Some useful options for setting up a new system | ## Some useful options for setting up a new system | ||
services. | services.getty.autologinUser = mkForce "root"; | ||
# Enable sshd which gets disabled by netboot-minimal.nix | # Enable sshd which gets disabled by netboot-minimal.nix | ||
systemd.services.sshd.wantedBy = mkOverride 0 [ "multi-user.target" ]; | systemd.services.sshd.wantedBy = mkOverride 0 [ "multi-user.target" ]; | ||