diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-08 16:19:10 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-08 16:19:10 +0100 |
commit | cf797eca5f8d6a9c12530b4519cb100a46eef51c (patch) | |
tree | ef56c69006c42d6189ca4c70c3ebdd4435f2f992 | |
parent | 2fd7d2c084920d544357185f68d238278ee5a429 (diff) | |
download | nixos-cf797eca5f8d6a9c12530b4519cb100a46eef51c.tar nixos-cf797eca5f8d6a9c12530b4519cb100a46eef51c.tar.gz nixos-cf797eca5f8d6a9c12530b4519cb100a46eef51c.tar.bz2 nixos-cf797eca5f8d6a9c12530b4519cb100a46eef51c.tar.xz nixos-cf797eca5f8d6a9c12530b4519cb100a46eef51c.zip |
ymir: ...
-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"; |