diff options
-rwxr-xr-x | snap.py | 3 | ||||
-rw-r--r-- | ymir.nix | 2 |
2 files changed, 2 insertions, 3 deletions
@@ -1,5 +1,4 @@ | |||
1 | #! /usr/bin/env nix-shell | 1 | #!/usr/bin/env python |
2 | #! nix-shell -i python -p "python3.withPackages (p: with p; [dateutil python-unshare])" | ||
3 | 2 | ||
4 | import os | 3 | import os |
5 | import argparse | 4 | import argparse |
@@ -1170,7 +1170,7 @@ in rec { | |||
1170 | services.qemuGuest.enable = true; | 1170 | services.qemuGuest.enable = true; |
1171 | 1171 | ||
1172 | systemd.services."borgbackup@" = { | 1172 | systemd.services."borgbackup@" = { |
1173 | path = with pkgs; [ borgbackup utillinux ]; | 1173 | path = with pkgs; [ borgbackup utillinux (python3.withPackages (p: with p; [dateutil python-unshare])) ]; |
1174 | 1174 | ||
1175 | serviceConfig = { | 1175 | serviceConfig = { |
1176 | ExecStart = "${./snap.py} %I"; | 1176 | ExecStart = "${./snap.py} %I"; |