From cf797eca5f8d6a9c12530b4519cb100a46eef51c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 8 Feb 2022 16:19:10 +0100 Subject: ymir: ... --- snap.py | 3 +-- ymir.nix | 2 +- 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 @@ -#! /usr/bin/env nix-shell -#! nix-shell -i python -p "python3.withPackages (p: with p; [dateutil python-unshare])" +#!/usr/bin/env python import os import 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 { services.qemuGuest.enable = true; systemd.services."borgbackup@" = { - path = with pkgs; [ borgbackup utillinux ]; + path = with pkgs; [ borgbackup utillinux (python3.withPackages (p: with p; [dateutil python-unshare])) ]; serviceConfig = { ExecStart = "${./snap.py} %I"; -- cgit v1.2.3