summaryrefslogtreecommitdiff
path: root/os/srv/restic.nix
diff options
context:
space:
mode:
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 = [
+ ];
+ };
+}