Select the types of activity you want to include in your feed.
feat: support self-manage on linux
now self-managed restic is supported on windows and linux as a fallback if not found in PATH. will remain unsupported on darwin due to macos security killing the restic process randomly
···1919- Optional automatic pruning and checks after backups
2020- Operations menu for running individual operations (backup, prune, check, unlock, mount, shell, hooks)
2121- Optional automatic retry and removal of stale locks
2222-- On Windows it can also download and update it's own self-managed restic if not found in PATH
2222+- On Windows/Linux it can also download and update it's own self-managed restic if not found in PATH
2323- Open a shell with your profile's environment and restic binary loaded, for restoring or other CLI operations without friction
2424- Mount repository snapshots on macOS/Linux
2525 - Requires [FUSE-T](https://www.fuse-t.org) or [macFUSE](https://macfuse.github.io) on macOS. Requires [FUSE](https://github.com/libfuse/libfuse) on Linux
···34343535To install, grab a build artifact for your OS and architecture from the [repository's tags](https://tangled.org/devins.page/restray/tags). On MacOS you'll need to [remove quarantine](https://disable-gatekeeper.github.io#disabling-gatekeeper-for-one-application-only) from the `.app`, since I can't pay Apple $100/year to sign it. Sorry.
36363737-On MacOS, a restic binary is downloaded and bundled to the `.app` at build time, though I'd recommend installing restic to your PATH so you have the latest version. On Windows, Restray can download and update it's own restic binary itself if it isn't already in PATH. On Linux, you should install restic with your package manager.
3737+On MacOS, a restic binary is downloaded and bundled to the `.app` at build time, though I'd recommend installing restic to your PATH so you have the latest version. On Windows and Linux, Restray can download and update it's own restic binary itself if it isn't already in PATH.
38383939_If you're a Nix/NixOS/Nix-darwin user, I also provide package/module in the project's [flake](https://tangled.org/devins.page/restray) for Linux and MacOS._
4040···5959| Key | Type | Default | Description |
6060| ------------------ | ------ | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
6161| `check_updates` | bool | `true` | **MacOS/Windows only.** Check for new Restray versions on startup and periodically. When an update is found, the version item in the menu changes to an update button |
6262-| `manage_restic` | bool | `false` | **Windows only.** If restic is not found in PATH, automatically downloads and updates a self-managed restic binary daily from GitHub. |
6262+| `manage_restic` | bool | `false` | **Windows/Linux only.** If restic is not found in PATH, automatically downloads and updates a self-managed restic binary daily from GitHub. |
6363| `notifications` | string | `"none"` | `"all"` (success + errors), `"errors"` (errors only), or `"none"` (silent) |
6464| `icon` | string | platform | `"color"`, `"mono"`, `"white"`, or `"black"`. Default is `"mono"` on MacOS/Windows and `"color"` elsewhere. `"mono"` follows OS light/dark mode. |
6565| `schedule_display` | string | `"description"` | `"description"` (human-readable, e.g. "every 6 hours"), `"cron"` (raw expression, e.g. "0 \* \* \* \*"), `"last"` (time since last backup, e.g. "2 hours ago"), or `"none"` |
+1-2
cmd/restray/manage_other.go
···11-//go:build !windows
11+//go:build !windows && !linux
2233package main
4455import "fyne.io/systray"
6677-// macOS/Linux require system restic, the app never downloads or manages one
87const selfManagesRestic = false
98109func downloadRestic(prefixedMenuItem) error { return nil }
···1212 manageRestic = lib.mkOption {
1313 type = lib.types.bool;
1414 default = false;
1515- description = "Windows only. If restic is not found in PATH, automatically downloads and updates a self-managed restic binary daily from GitHub.";
1515+ description = "Windows/Linux only. If restic is not found in PATH, automatically downloads and updates a self-managed restic binary daily from GitHub.";
1616 };
1717 notifications = lib.mkOption {
1818 type = lib.types.str;