started restic rest server

This commit is contained in:
John Lancaster
2026-03-17 13:05:02 -05:00
parent 61c1c5d80e
commit 6a7e78a19e

View File

@@ -1,4 +1,13 @@
{ inputs, ... }: {
flake.modules.nixos.restic-server = { config, pkgs, lib, ... }: {
services.restic.server = {
enable = true;
dataDir = "/mnt/restic";
listenAddress = "0.0.0.0:8080";
extraFlags = [ "--no-auth" ];
};
};
flake.modules.homeManager.restic = { config, pkgs, lib, ... }:
let
cfg = config.restic;