summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsnap.py3
-rw-r--r--ymir.nix2
2 files changed, 2 insertions, 3 deletions
diff --git a/snap.py b/snap.py
index cc75739b..1151c718 100755
--- a/snap.py
+++ b/snap.py
@@ -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
4import os 3import os
5import argparse 4import argparse
diff --git a/ymir.nix b/ymir.nix
index 109e0889..311251bf 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -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";