-
Notifications
You must be signed in to change notification settings - Fork 31
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
readme: clarify flake instructions #388
base: main
Are you sure you want to change the base?
Conversation
readme.md
Outdated
If you have an existing `configuration.nix`, you can use the `nixos-cosmic` flake with the following in an adjacent `flake.nix` (e.g. in `/etc/nixos`): | ||
|
||
**Note:** If switching from traditional evaluation to flakes, `nix-channel` will no longer have any effect on the nixpkgs your system is built with, and therefore `nixos-rebuild --upgrade` will also no longer have any effect. You will need to use `nix flake update` from your flake directory to update nixpkgs and nixos-cosmic. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been used by people coming to this repository before. Please do not remove the information
15ec5aa
to
8984527
Compare
@@ -6,17 +6,25 @@ Dedicated development matrix room: <https://matrix.to/#/#cosmic:nixos.org> | |||
|
|||
## Usage | |||
|
|||
### With traditional evaluation | |||
|
|||
This isn't supported, you are required to use [nix flakes] if you want to use nixos-cosmic. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So uh this isn't true either. There is a valid entrypoint intended for that use-case, it's just undocumented and a bad idea unless you are using some other pinning/locking mechanism, e.g. npins
I'll provide more concrete guidance later on what this can be changed to, though. Thanks for working on these docs!
No description provided.