summaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-10-12 08:57:05 -0400
committerseth <[email protected]>2024-10-12 08:57:05 -0400
commita7e61f884b96d6140778bf2fcfa4d15d288011f8 (patch)
tree85c1f441e05bb0b568aab4dafa625bb8e90b6320 /nix
parentc61b701095a1f6b52777d317275f34687e57ee3e (diff)
nix: use specifier expansion for state dir in module
Diffstat (limited to 'nix')
-rw-r--r--nix/module.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/module.nix b/nix/module.nix
index 3ad3929..c02d126 100644
--- a/nix/module.nix
+++ b/nix/module.nix
@@ -50,7 +50,7 @@ in
environment = {
# using `/var/lib/private` as we have `DynamicUser` enabled
- BOT_NIXPKGS_PATH = "/var/lib/private/${config.systemd.services.nixpkgs-tracker-bot.serviceConfig.StateDirectory}/nixpkgs";
+ BOT_NIXPKGS_PATH = "%S/${config.systemd.services.nixpkgs-tracker-bot.serviceConfig.StateDirectory}/nixpkgs";
};
serviceConfig = {