-
-
Notifications
You must be signed in to change notification settings - Fork 146
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
Location of configuration #296
Comments
The file is being imported from the nixpkgs repository. This is directory where the google-compute-image.nix file lives: You can leave the import statement there, and add (or overwrite) the options you want to change. |
So that means there's no declarative configuration within the VM? And what I add to |
I have the same question. |
You have to either manually update /etc/nixos/configuration.nix to be in sync with what you have used creating the image, or you just ignore this file completely and use |
I have deployed a VM to GCP. It works fine.
Now I want to change its configuration without redeploying. I just want to use
sudo nixos-rebuild switch
. But/etc/nixos/configuration.nix
just hasWhere can I find a copy of the configuration I used within the VM? Is it anywhere there? Can I just place a new configuration anywhere and do the switch?
The text was updated successfully, but these errors were encountered: