diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-17 17:19:46 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-17 17:19:46 +0100 |
commit | a741c57c6053b6a8f3c87499df0ff5c71b3c0fd9 (patch) | |
tree | 24f2bb2aec9c94673ec8f66080e4d1ed6fd4ff3a /hosts/vidhar/borg/default.nix | |
parent | 8de2cd094454068ffbff6f27095ab914409e30fe (diff) | |
download | nixos-a741c57c6053b6a8f3c87499df0ff5c71b3c0fd9.tar nixos-a741c57c6053b6a8f3c87499df0ff5c71b3c0fd9.tar.gz nixos-a741c57c6053b6a8f3c87499df0ff5c71b3c0fd9.tar.bz2 nixos-a741c57c6053b6a8f3c87499df0ff5c71b3c0fd9.tar.xz nixos-a741c57c6053b6a8f3c87499df0ff5c71b3c0fd9.zip |
vidhar: ...
Diffstat (limited to 'hosts/vidhar/borg/default.nix')
-rw-r--r-- | hosts/vidhar/borg/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/hosts/vidhar/borg/default.nix b/hosts/vidhar/borg/default.nix index b1bdde04..74f4a827 100644 --- a/hosts/vidhar/borg/default.nix +++ b/hosts/vidhar/borg/default.nix | |||
@@ -22,8 +22,8 @@ let | |||
22 | serviceConfig = { | 22 | serviceConfig = { |
23 | Type = "oneshot"; | 23 | Type = "oneshot"; |
24 | ExecStart = "${copyBorg}/bin/copy ${escapeShellArg repo} yggdrasil.borgbase:repo"; | 24 | ExecStart = "${copyBorg}/bin/copy ${escapeShellArg repo} yggdrasil.borgbase:repo"; |
25 | User = "borg"; | 25 | # User = "borg"; |
26 | Group = "borg"; | 26 | # Group = "borg"; |
27 | StateDirectory = "borg"; | 27 | StateDirectory = "borg"; |
28 | RuntimeDirectory = "copy-borg"; | 28 | RuntimeDirectory = "copy-borg"; |
29 | Environment = [ | 29 | Environment = [ |
@@ -44,8 +44,9 @@ let | |||
44 | }; | 44 | }; |
45 | 45 | ||
46 | copyBorg = pkgs.stdenv.mkDerivation (let | 46 | copyBorg = pkgs.stdenv.mkDerivation (let |
47 | packageOverrides = pkgs.callPackage ./pyprctl-packages.nix {}; | 47 | # packageOverrides = pkgs.callPackage ./pyprctl-packages.nix {}; |
48 | inpPython = pkgs.python39.override { inherit packageOverrides; }; | 48 | # inpPython = pkgs.python39.override { inherit packageOverrides; }; |
49 | inpPython = pkgs.python39; | ||
49 | in rec { | 50 | in rec { |
50 | name = "copy"; | 51 | name = "copy"; |
51 | src = ./copy.py; | 52 | src = ./copy.py; |