Open timokau opened 6 years ago
Sound like a good idea. Assuming the programs.home-manager.path
is set to a download location then in principle it could be done using a systemd user timer. I.e. similar to how it works when Home Manager is run as a NixOS module.
I'll think about how to best set it up.
It sounds like you are talking about updating home-manager itself. What I meant was updating the programs managed through home-manager.
I'd like to see this feature added too.
Thank you for your contribution! I marked this issue as stale due to inactivity. If this remains inactive for another 7 days, I will close this issue. Please read the relevant sections below before commenting.
* If this is resolved, please consider closing it so that the maintainers know not to focus on this. * If this might still be an issue, but you are not interested in promoting its resolution, please consider closing it while encouraging others to take over and reopen an issue if they care enough. * If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.
* If you are also experiencing this issue, please add details of your situation to help with the debugging process. * If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.
If you have nothing of substance to add, please refrain from commenting and allow the bot close the issue. Also, don't be afraid to manually close an issue, even if it holds valuable information.
Closed issues stay in the system for people to search, read, cross-reference, or even reopen--nothing is lost! Closing obsolete issues is an important way to help maintainers focus their time and effort.
If this might still be an issue, but you are not interested in promoting its resolution, please consider closing it while encouraging others to take over and reopen an issue if they care enough.
I would no longer use such a feature since I prefer to pin nixpkgs which requires explicit updates anyway. Therefore I'll follow the bot's guideline and close this. It seems like some other people were interested in this at some point. I can re-open this if somebody is interested in taking over.
heya, i'd still be interested in seeing this feature. is the right thing to open another issue or would it be possible to reopen this?
@spagy there was an attempt to create an autoUpgrade service in #1365. Maybe you can try and resurrect that PR?
I'll reopen this for now. It seems like there is still interest and this issue can be used for tracking progress if there is any. I will unsubscribe though, so please ping me if necessary.
I think this could be pretty useful. I use flakes, but with an updating and testing GitHub action or something like that on the flake, automatic upgrades could be really nice, especially since I use some packages that rebuild often (a.k.a. neovim-nightly).
services.home-manager-auto-upgrade
is already implemented in modules/services/home-manager-auto-upgrade.nix .
it should be support flakes
I agree, it should support flakes.
Nixos offers the
autoUpgrade
option to automatically do the equivalent ofnix-channel --update && nixos-rebuild switch
regularly. Should we do the same for home-manager?