Skip to content

Commit 6ca4ab9

Browse files
authored
Update README.md (#6)
1 parent cbd7821 commit 6ca4ab9

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
# Erase your darlings, but without filesystems tricks
1+
# Erase your darlings[^1], but without filesystems tricks
22

33
## WARNING
44

5-
I'm not responsible for any data loss, use at your own risk.
5+
I am not responsible for any data loss. Use at your own risk.
66

77
## Features
88

9-
- Easy to set up, just enable it and set paths to keep
10-
- No snapshots, tmpfs as root or bind mounts are required, works with any filesystem
11-
- Moves everything from root filesystem not in `boot.initrd.eyd.keep` to the `/oldroot` directory
12-
- Retains data from previous boots (5 by default), so you have a chance to recover your data
9+
- Easy to set up: just enable it and specify the paths to keep
10+
- No snapshots, tmpfs as root, or bind mounts are required - works with any filesystem
11+
- Moves everything from the root filesystem not listed in `boot.initrd.eyd.keep` to the `/oldroot` directory
12+
- Retains data from previous boots (5 by default), giving you a chance to recover your data
1313

1414
## Drawbacks
1515

16-
- Doesn't touch anything besides the root filesystem
17-
- A ~700KB binary in initrd
18-
- Only systemd initrd is supported
16+
- Only affects the root filesystem
17+
- Adds a ~600 KB binary to the initrd
18+
- Supports only systemd initrd
1919

20-
## Set it up
20+
## Setup
2121

2222
```nix
2323
# in your flake
24-
inputs.eyd.url = "github:misuzu/eyd/v0.2.1";
24+
inputs.eyd.url = "github:misuzu/eyd/v0.3.0";
2525
2626
# import the eyd module
2727
imports = [ inputs.eyd.nixosModules.default ];
@@ -36,22 +36,16 @@ boot.initrd.eyd.keep = [
3636
"/etc/ssh/ssh_host_rsa_key"
3737
"/etc/ssh/ssh_host_rsa_key.pub"
3838
"/home"
39-
"/media"
40-
"/mnt"
4139
"/root"
42-
"/var/cache/fwupd"
4340
"/var/db/dhcpcd"
4441
"/var/lib/alsa"
4542
"/var/lib/bluetooth"
4643
"/var/lib/docker"
47-
"/var/lib/fwupd"
48-
"/var/lib/iwd"
4944
"/var/lib/logrotate.status"
5045
"/var/lib/NetworkManager"
5146
"/var/lib/private/yggdrasil"
5247
"/var/lib/systemd"
5348
"/var/lib/tailscale"
54-
"/var/lib/zerotier-one"
5549
"/var/log/btmp"
5650
"/var/log/journal"
5751
"/var/log/lastlog"
@@ -62,10 +56,16 @@ boot.initrd.eyd.retain = 3;
6256

6357
## Debugging
6458

65-
Run `journalctl -b 0 -u eyd` to see the logs
59+
Run `journalctl -b 0 -u eyd` to view logs
6660

6761

6862
## Related projects
6963

7064
- [`impermanence`](https://github.com/nix-community/impermanence)
7165
- [`preservation`](https://github.com/nix-community/preservation)
66+
67+
## License
68+
69+
This project is released under the MIT License. See [LICENSE](./LICENSE).
70+
71+
[^1]: https://grahamc.com/blog/erase-your-darlings/

eyd/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{ rustPlatform }:
22
rustPlatform.buildRustPackage {
33
pname = "eyd";
4-
version = "0.2.1";
4+
version = "0.3.0";
55
src = ./.;
66
cargoLock = {
77
lockFile = ./Cargo.lock;

0 commit comments

Comments
 (0)