Skip to content
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

Usage with NixOS Anywhere #602

Closed
awlsring opened this issue Jan 19, 2025 · 3 comments
Closed

Usage with NixOS Anywhere #602

awlsring opened this issue Jan 19, 2025 · 3 comments

Comments

@awlsring
Copy link

Hi all, first off love the project!

I'm running into using the nixos server module when doing a new install on a fresh Hetzner box using nixos-anywhere. Its seems a lot of features exposed by this module break the initial rebuild. I'm currently able to work around this by first deploying my configuration with no srvos modules, then sshing into the box and running a nixos rebuild with my config.

I still a bit of a nix newbie. I assume I'm doing something wrong though I'm not sure if there are behaviors I need to tweak on the side of srvos or nixos-anywhere. Can yall provide any guidance on how to approach this? My end goal is to be able to define a series of hosts that I'll then create and deploy via terraform without needing to do any of these adhoc tweaks.

@zowoq
Copy link
Contributor

zowoq commented Jan 19, 2025

Its seems a lot of features exposed by this module break the initial rebuild.

Probably the hostname check that will be fixed by #601?

@awlsring
Copy link
Author

Yeah that reads like this issue. I'll try making some local changes to confirm.

@awlsring
Copy link
Author

I pulled that commit in and deployed a new system with it so that change will address this.

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

No branches or pull requests

2 participants