diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-08 16:09:50 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-08 16:09:50 +0100 |
commit | f9a31454597f65d01b750fc3ea06e56c03f084ef (patch) | |
tree | b8c8e6bdb1bb7459723dcf7c58221a203d5373c2 | |
parent | 1be573bf05716e436fedc778a0d418d84ec447b7 (diff) | |
download | nixos-f9a31454597f65d01b750fc3ea06e56c03f084ef.tar nixos-f9a31454597f65d01b750fc3ea06e56c03f084ef.tar.gz nixos-f9a31454597f65d01b750fc3ea06e56c03f084ef.tar.bz2 nixos-f9a31454597f65d01b750fc3ea06e56c03f084ef.tar.xz nixos-f9a31454597f65d01b750fc3ea06e56c03f084ef.zip |
ymir: ...
-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 | } |