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

Where are the actual configurations supposed to live with flake? #63

Open
pmyjavec opened this issue Feb 9, 2024 · 1 comment
Open
Labels
question Further information is requested

Comments

@pmyjavec
Copy link

pmyjavec commented Feb 9, 2024

When following the README, the instructions here work, but what is the relationship between creating a repo and having the configuration files inside that repo, and the traditional /etc/nixos/configuration.nix, when using flakes, are the configurations under /etc/ kind of obsolete? If so I think it might be useful to clarify.

Thanks

@vincentmaule
Copy link

The idea with flakes is to pull simply from a Git Repository instead of a folder/file on the local system such as /etc/nixos.
/etc/nixos is not at all obsolete as you can simply copy your configuration from one system to another.

Note: .nix files can be activated other places than just /etc/nixos; I usually would pull my config down on to the system, then rebuild in said folder (home documents folder/home desktop folder/etc).

@Misterio77 Misterio77 added the question Further information is requested label Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants