-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
timeshift: init at 22.06.1 #126481
timeshift: init at 22.06.1 #126481
Conversation
6feb3ba
to
74701ea
Compare
74701ea
to
6bdaf94
Compare
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.
Please format the files with nixpkgs-fmt.
4867d83
to
2741bc1
Compare
7725659
to
c518e41
Compare
We might want to switch to https://github.com/linuxmint/timeshift. |
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.
I am not super sure about all the wrapping and seperation but should be fine.
@SuperSandro2000 There are quite a few changes regarding the |
Motivation for this change
Timeshift is commonly seen in Debian-based distros, and is enabled by default on Ubuntu and Linux Mint.
If applied, users will be able to restore their broken distros from timeshift snapshots.
closes #89348
I'm not sure if it's useful for NixOS users, since we already have a powerful package manager that does in-place snapshots and rollback for us. (There is a comment in the package request about the possible use case when updating to a new version.)
Nevertheless, nix users on other distros may find it helpful to be able to install this from Nix and to restore inside that distro or from NixOS.
To-do
timeshift-gtk expects /etc/timeshift/timeshift.json or /etc/timeshift/default.json to exist before it starts. I'm not sure how other packages manage that.(Solved bypatching src/Core/Main.vala
withsubstituteInPlace
)Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)