Skip to content

How to reinstall nixos with nixos-config #141

Description

@koseduhemak

Hi there,

I really enjoyed nixos-config so far - thank you for your great work!
I have a question regarding how to reinstall nixos-config (on a linux machine) with my modified copy of nixos-config.
I started fresh like described in this repository and set everything up. I created a git repository with my copy of nixos-config to let me version my changes for installed packages, etc.

Now I want to reinstall my entire linux machine but based on my changes (custom packages, hardware settings, homemanger settings).
How can I achieve that?

Can I just execute nixos-install --flake https://github.com/user/myflake_repo#x86_64-linux within a terminal in the nixos installer? Do I need to execute something for disko beforehand?

Thank you!
Best wishes
Max

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions