losurdo: update system.stateVersion
[sourcephile-nix.git] / hosts / mermet / unbound.nix
index 083662482fa50b6a58c5589fc35e3e6a770563e9..219b1a20643a70756aa4ac9f11b75a9d848eeb2f 100644 (file)
@@ -1,4 +1,4 @@
-{ config, host, ... }:
+{ config, inputs, host, ... }:
 let
   inherit (config.services) unbound;
   inherit (config.users) users;
@@ -156,7 +156,7 @@ in
     serviceConfig = {
       #RuntimeDirectoryMode = "0700";
       BindReadOnlyPaths = [
-        "${../../networking/named.root}:/var/lib/unbound/named.root"
+        "${inputs.self}/share/networking/named.root:/var/lib/unbound/named.root"
       ];
     };
   };