New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
installation-device.nix: explain sshd usage, don't include clone-config #63773
Conversation
@GrahamcOfBorg test installer |
This comment has been minimized.
This comment has been minimized.
302fa62
to
123bd39
Compare
Oh, missed the |
nixos/doc/manual/configuration/profiles/installation-device.xml
Outdated
Show resolved
Hide resolved
3e68d93
to
3509d85
Compare
nixos/doc/manual/configuration/profiles/installation-device.xml
Outdated
Show resolved
Hide resolved
nixos/doc/manual/configuration/profiles/installation-device.xml
Outdated
Show resolved
Hide resolved
nixos/doc/manual/configuration/profiles/installation-device.xml
Outdated
Show resolved
Hide resolved
3509d85
to
7d2c552
Compare
5669c04
to
cfb4a12
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs seem good 👍
@samueldr, could you give this a try once |
Probably immediately easy enough to revert #63835 for the image |
As SD Card images are both installation media and installation target, don't copy over a /etc/nixos/configuration.nix Closes NixOS#63576.
This got quite outdated. We now have both the nixos and root user available for example.
cfb4a12
to
d6eb5b0
Compare
Rebased on top of master, as #66850 landed. |
Motivation for this change
The configuration used to build an installation medium isn't really
suitable to be (re)used when building a real system.
For example, it enables automatic root login without a password on the
console, installs sshd, but prevents it from starting on boot.
This can be very misleading when users try to derive their real system
from it - they should use nixos-generate-config instead, as described in
the manual.
Also update the mingetty helpLine to describe the sshd setup.
Closes #63576
Closes #26776
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)