Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
global-paths.hh
Go to the documentation of this file.
1#pragma once
3
4#include <filesystem>
5#include <vector>
6
7namespace nix {
8
15const std::filesystem::path & nixConfDir();
16
20static inline std::filesystem::path nixConfFile()
21{
22 return nixConfDir() / "nix.conf";
23}
24
31const std::vector<std::filesystem::path> & nixUserConfFiles();
32
33} // namespace nix