installation-device.nix: explain sshd usage, don't include clone-config#63773
Merged
flokli merged 4 commits intoNixOS:masterfrom Aug 31, 2019
Merged
installation-device.nix: explain sshd usage, don't include clone-config#63773flokli merged 4 commits intoNixOS:masterfrom
flokli merged 4 commits intoNixOS:masterfrom
Conversation
Member
Author
|
@GrahamcOfBorg test installer |
This comment has been minimized.
This comment has been minimized.
samueldr
suggested changes
Jun 26, 2019
Closed
302fa62 to
123bd39
Compare
Contributor
|
Oh, missed the |
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
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
nixos/doc/manual/configuration/profiles/installation-device.xml
Outdated
Show resolved
Hide resolved
5669c04 to
cfb4a12
Compare
Member
Author
|
@samueldr, could you give this a try once |
Contributor
|
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
Member
Author
|
Rebased on top of master, as #66850 landed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
sandboxinnix.confon non-NixOS)nix-shell -p nix-review --run "nix-review wip"./result/bin/)nix path-info -Sbefore and after)