-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
[23.11] nixos/snapper: Add peristentTimer option to config #312549
Conversation
@tomberek if you've got the time to take a look over the backport as well, much appreciated! |
Thanks for your contribution. Here is some doc for manual backport: https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#manually-backporting-changes. Could you make some changes such as PR title and
This is indeed an disadvantage of auto backport, which I think is acceptable. If you want an auto backport, I can help with that. |
AIUI And it's not a cherry-pick (neither manual nor auto-backported), as the commit message notes - I've changed it to match the rest of the module's args in 23.11 |
I see you link that PR in the description. What I ask is that you also reference the backported commit hash
I see you add I suggest an auto-backport because the addition of
Usually, a manual backport indicates modifying the
Not sure if you missed this suggestion or you intend to not do this. Anyway, I have changed it because I see no harm of it. Hope you do not mind. |
Defaults to false, but allows users to enable it for machines that aren't on persistently (e.g., laptops, home PCs). Backport of NixOS#306909 (cherry picked from commit ff0f454)
546831d
to
8198591
Compare
The PR description contains that as well; I assumed that it would be used as the commit message when the PR is merged.
I'm not a maintainer (yet!), so I don't think I have the powers to do so. I force-pushed a commit generated from |
type = types.bool; | ||
example = true; | ||
description = '' | ||
Set the `persistentTimer` option for the |
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.
nit: Should it be Persistent
? If so, this (and the one in the borgbackup module) can be fixed in a future PR.
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.
Addressed with #314099
It is not the case for two of three merge methods on GitHub.
I know and that's why I say I can help with that (adding the needed tag). I should have stated that more clear. Again, thanks. |
The persistentTimer argument sets the _Persistent_ field in systemd.timer(5). Pointed out in #312549
The persistentTimer argument sets the _Persistent_ field in systemd.timer(5). Pointed out in NixOS#312549
Defaults to false, but allows users to enable it for machines that aren't on persistently (e.g., laptops, home PCs).
Backport of 2c55e03 (#306909) but using
lib.mdDoc
to be consistent with the rest of the options on this branch.