Skip to content

Conversation

@raboof
Copy link
Member

@raboof raboof commented Jun 26, 2025

The main point of nixos-generate-config is that it generates the hardware-configuration.nix matching the characteristics of the machine you're running on, but that configuration is not used in the VM scenario anyway.

I think it distracts from the main message of this tutorial, especially as there's some outstanding bugs in nixos-generate-config that you might get confused by, such as NixOS/nixpkgs#417803

I'd suggest removing the nixos-generate-config content from this tutorial. Possibly we could have it return as a dedicated tutorial at some point.

The main point of `nixos-generate-config` is that it generates the
`hardware-configuration.nix` matching the characteristics of the machine
you're running on, but that configuration is not used in the VM scenario
anyway.

I think it distracts from the main message of this tutorial, especially
as there's some outstanding bugs in `nixos-generate-config` that you
might get confused by, such as NixOS/nixpkgs#417803

I'd suggest removing the `nixos-generate-config` content from this
tutorial. Possibly we could have it return as a dedicated tutorial at
some point.
@raboof raboof requested a review from a team as a code owner June 26, 2025 12:22
Copy link
Collaborator

@fricklerhandwerk fricklerhandwerk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, thanks!

@fricklerhandwerk fricklerhandwerk enabled auto-merge (squash) June 26, 2025 14:05
@fricklerhandwerk fricklerhandwerk merged commit 8061765 into NixOS:master Jun 26, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants