summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ymir.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/ymir.nix b/ymir.nix
index 0feb8f6e..cb3e27dc 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -1167,4 +1167,17 @@ in rec {
1167 }; 1167 };
1168 1168
1169 services.qemuGuest.enable = true; 1169 services.qemuGuest.enable = true;
1170
1171 systemd.services."borgbackup@" = {
1172 path = with pkgs; [ borgbackup utillinux ];
1173
1174 serviceConfig = {
1175 ExecStart = "${./snap.py} %I";
1176 Type = "oneshot";
1177 Nice = 15;
1178 IOSchedulingClass = 2;
1179 IOSchedulingPriority = 7;
1180 SuccessExitStatus = [0 1];
1181 };
1182 };
1170} 1183}