diff options
author | sternenseemann <sternenseemann@systemli.org> | 2022-02-21 14:40:13 +0100 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2022-02-21 14:48:26 +0100 |
commit | d4cdf4311a267ccbfdea5809cc043a92ef97b1cd (patch) | |
tree | e09dc12249c48eef5c15de73afe21876422873da | |
parent | 7bf79fd1c1e416e2cbae19f898b03b60e0d1eba4 (diff) |
refactor(nixos): use builtins.storeDir over hard coded /nix/store
-rw-r--r-- | nixos/flipdot-gschichtler.nix | 2 |
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; |