Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
users.hh
Go to the documentation of this file.
1#pragma once
3
5
6#include <sys/types.h>
7
8namespace nix {
9
10std::string getUserName();
11
15Path getHomeOf(uid_t userId);
16
20Path getHome();
21
25Path getCacheDir();
26
30Path getConfigDir();
31
35std::vector<Path> getConfigDirs();
36
40Path getDataDir();
41
47Path getStateDir();
48
54Path createNixStateDir();
55
59std::string expandTilde(std::string_view path);
60
61}
std::string Path
Definition types.hh:28