From 424bb2e7b9dcaa3591a60d3895a76f91e2122f5e Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 5 Aug 2023 23:47:21 +0200 Subject: [PATCH] modules: services: woodpecker: simplify path I'm not sure why it was written that way to begin with. --- modules/services/woodpecker/agent-exec/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/woodpecker/agent-exec/default.nix b/modules/services/woodpecker/agent-exec/default.nix index db98241..ad30188 100644 --- a/modules/services/woodpecker/agent-exec/default.nix +++ b/modules/services/woodpecker/agent-exec/default.nix @@ -52,7 +52,7 @@ in BindReadOnlyPaths = [ "/etc/passwd:/etc/passwd" "/etc/group:/etc/group" - "/nix/var/nix/profiles/system/etc/nix:/etc/nix" + "/etc/nix:/etc/nix" "${config.environment.etc."ssh/ssh_known_hosts".source}:/etc/ssh/ssh_known_hosts" "/etc/machine-id" # channels are dynamic paths in the nix store, therefore we need to bind mount the whole thing