-
Notifications
You must be signed in to change notification settings - Fork 107
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
Allow setting of channel host-wide #117
Comments
I haven't tested this, but lets say you set the nixos input in the flake to be 20.09, which would then be the default.
Then in the host file of any server you want to track master entirely:
mkForce because it is set to pkgs by default in hosts/default.nix Again I'm not sure if this will work. I personally just use a separate repo/nixflk for my server. I'm doubt any configuration framework would be able to abstract away the differences between the format and requirements of my laptop and server configs. |
Flakes don't use or require nix channels, but the 'nixos' flake input is used as the base of the system. So if you want to rebase on unstable, just point the input from 'release-20.09' to 'nixos-unstable' in the uri and you'll be good to go. The default mechanism for deploying a release while easily overriding packages and modules from master if/where required, is also available to consider. |
I'm not quite sure if that would work... nix flake uses the pkgs that you input to But thanks, I'll try it out and report back. |
Thanks, but I understand how to change it for all hosts. My wish would be to use the same |
Yeah that makes sense. Thats what I use the home-manager only configurations for, so I can use my personal nixflk on my server, and just apply the home-manager configs. But the server specific things are in a different repository. Not quite sure how to solve your problem though. |
@ymarkus, sorry, misunderstood the question. I am actually going to be extracting out a lot of the logic in the existing |
Wow, great! Thank you very much. |
this is now possible in the develop branch with the |
nix: remove ca-references feature flag
I would like to use this template to manage all my NixOS systems. Right now I can't find a way to do it easily.
Basically, I would like my servers to follow release and my Laptop/PC to follow unstable
Describe alternatives you've considered
Maybe this is possible with an overlay? I'm not that familiar with overlays as I haven't used them much.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: