diff options
| -rw-r--r-- | ymir.nix | 13 |
1 files changed, 13 insertions, 0 deletions
| @@ -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 | } |
