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

Noob questions #1

Open
alex27riva opened this issue Sep 13, 2024 · 1 comment
Open

Noob questions #1

alex27riva opened this issue Sep 13, 2024 · 1 comment

Comments

@alex27riva
Copy link

Hello, I'm new to NixOS.
I wanted to install NixOS on a Proxmox VM, but I failed with the manual installation.

Then I found your repo and build the image and I restored it on a Proxmox VM.

Now, I have question: how to make modification inside the VM? I cannot find the configuration.nix file.

@piyoki
Copy link
Member

piyoki commented Sep 13, 2024

Hello, I'm new to NixOS. I wanted to install NixOS on a Proxmox VM, but I failed with the manual installation.

Then I found your repo and build the image and I restored it on a Proxmox VM.

Now, I have question: how to make modification inside the VM? I cannot find the configuration.nix file.

Hey @alex27riva, you may check out the directory /etc/nixos/.

If you do not find anything in that directory, you need to generate the configs with the following command:

nixos-generate-config --root /mnt

Next, make some modifications to /etc/nixos/{hardware-configuration.nix,configuration.nix}, then run the following command to rebuild

nixos-install
reboot

To learn more, feel free to check out my notes

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