Merge pull request #14686 from wizeman/u/fix-updatedb

nixos.locate: fix update-locatedb service failure
This commit is contained in:
Peter Simons 2016-04-14 15:17:06 +02:00
commit acaf255687

View File

@ -88,7 +88,7 @@ in {
serviceConfig.PrivateNetwork = "yes";
serviceConfig.NoNewPrivileges = "yes";
serviceConfig.ReadOnlyDirectories = "/";
serviceConfig.ReadWriteDirectories = cfg.output;
serviceConfig.ReadWriteDirectories = dirOf cfg.output;
};
systemd.timers.update-locatedb = mkIf cfg.enable