summary refs log tree commit diff
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2022-02-21 14:40:13 +0100
committersternenseemann <sternenseemann@systemli.org>2022-02-21 14:48:26 +0100
commitd4cdf4311a267ccbfdea5809cc043a92ef97b1cd (patch)
treee09dc12249c48eef5c15de73afe21876422873da
parent7bf79fd1c1e416e2cbae19f898b03b60e0d1eba4 (diff)
refactor(nixos): use builtins.storeDir over hard coded /nix/store
-rw-r--r--nixos/flipdot-gschichtler.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/flipdot-gschichtler.nix b/nixos/flipdot-gschichtler.nix
index 8d3502d..e33426e 100644
--- a/nixos/flipdot-gschichtler.nix
+++ b/nixos/flipdot-gschichtler.nix
@@ -90,7 +90,7 @@ in {
 
         # make sure only /nix/store is accessible
         TemporaryFileSystem = "/:ro";
-        BindReadOnlyPaths = "/nix/store";
+        BindReadOnlyPaths = "${builtins.storeDir}";
         # TemporaryFileSystem doesn't work with DynamicUser
         User = userGroupName;
         Group = userGroupName;