diff options
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; |