From b0b2a4d732a0fb764ff25be2d98e6e7b93700653 Mon Sep 17 00:00:00 2001 From: Bernardo Magri Date: Wed, 17 Jun 2026 21:18:49 +0100 Subject: [PATCH] docs(services): note the restic-nomarchy list/restore wrapper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit VM-verified the full batch of opt-in service toggles (libvirt, docker, obs + v4l2loopback, ollama, printing, openrgb, wireshark, adb, gamemode, kdeconnect, restic) in a headless nixosTest — all green, no module bugs. The one thing worth surfacing: services.restic ships a pre-configured `restic-nomarchy` wrapper (repository + passwordFile baked in) for listing and restoring snapshots. Mention it in the option description and README so the restore path is discoverable — a backup you can't restore is half a feature. Co-Authored-By: Claude Opus 4.8 --- README.md | 2 +- modules/nixos/services.nix | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 840e64c..ba67b87 100644 --- a/README.md +++ b/README.md @@ -235,7 +235,7 @@ examples: **[docs/OVERRIDES.md](docs/OVERRIDES.md)**. | `nomarchy.services.ollama.enable` | `false` | Opt-in: Ollama local LLM runtime on `127.0.0.1:11434` (CPU; GPU via `services.ollama.acceleration`) | | `nomarchy.services.printing.enable` | `false` | Opt-in: CUPS + Avahi/mDNS network printer discovery | | `nomarchy.services.openrgb.enable` | `false` | Opt-in: OpenRGB daemon for RGB peripheral/motherboard lighting | -| `nomarchy.services.restic.enable` | `false` | Opt-in: scheduled daily restic backup (set `.repository` + `.passwordFile`; 7/4/6 retention) | +| `nomarchy.services.restic.enable` | `false` | Opt-in: scheduled daily restic backup (set `.repository` + `.passwordFile`; 7/4/6 retention; list/restore via the `restic-nomarchy` wrapper) | Beyond the `nomarchy.*` surface, the system layer turns on the usual desktop services with `lib.mkDefault` (override natively). One worth diff --git a/modules/nixos/services.nix b/modules/nixos/services.nix index fef37c6..d22636b 100644 --- a/modules/nixos/services.nix +++ b/modules/nixos/services.nix @@ -86,7 +86,9 @@ in enable = lib.mkEnableOption '' a scheduled (daily) restic backup — headless, complementing the Pika GUI. Backs up `paths` with sane retention (7 daily / 4 weekly / - 6 monthly); needs a `repository` and a `passwordFile` (below)''; + 6 monthly); needs a `repository` and a `passwordFile` (below). List + and restore with the generated `restic-nomarchy` wrapper (repo + + password baked in), e.g. `restic-nomarchy snapshots`''; repository = lib.mkOption { type = lib.types.str;