blob: a2c32d90b67d2e3997299b9bcc1fb53a02b32cb0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{inputs, ...}: {
imports = [
inputs.impermanence.nixosModules.impermanence
];
environment.persistence."/persist" = {
hideMounts = true;
directories = [
"/var/lib/bluetooth"
"/var/lib/fprint"
"/var/lib/nixos"
"/var/lib/systemd"
"/etc/NetworkManager/system-connections"
];
files = [
# "/etc/machine-id"
];
users.chen = {
directories = [
# XDG user directories
"Desktop"
"Documents"
"Downloads"
"Music"
"Pictures"
"Public"
"Templates"
"Videos"
# More directories
".config/emacs"
".local/share/Steam"
".ssh"
];
files = [
".history"
];
};
};
environment.etc.machine-id.text = "67803336e24344e9aa58ea47b51180d0";
programs.fuse.userAllowOther = true;
}
|