summaryrefslogtreecommitdiff
path: root/os/srv/restic.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2026-06-27 02:41:27 +0200
committeradikro <adikro@disroot.org>2026-06-27 02:41:27 +0200
commit9b8f9a4bf5e13efe49ec101f127d0df3d7bb3cf3 (patch)
treeb857cd260647dea82b0c63367eef9fa18cd63b8d /os/srv/restic.nix
parent30f34740891096471b5663704fbbd9bf67ebe885 (diff)
revamped sanoid, syncoid and nfs
Diffstat (limited to 'os/srv/restic.nix')
-rw-r--r--os/srv/restic.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/os/srv/restic.nix b/os/srv/restic.nix
new file mode 100644
index 0000000..fb2bd19
--- /dev/null
+++ b/os/srv/restic.nix
@@ -0,0 +1,12 @@
+{ config, lib, ... }:
+let
+ cfg = config.os.srv.restic;
+in
+{
+ options.os.srv.restic.enable = lib.mkEnableOption "enables restic backups";
+
+ config = lib.mkIf cfg.enable {
+ assertions = [
+ ];
+ };
+}