blob: 2d62dc9492633e3c7012e1070c49cf59523146c3 (
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
|
{impermanence, ...}: {
imports = [
# impermanence.nixosModules.impermanence
"${impermanence}/nixos.nix"
];
# needed for the hm impermanence config
programs.fuse.userAllowOther = true;
environment.persistence = {
"/srv" = {
hideMounts = true;
directories = [
"/etc/nixos"
"/var/log"
"/etc/NetworkManager" # this shouldn't hurt even if networkmanager isn't installed
# TODO this needs to be checked
#"/var/lib/bluetooth"
#"/var/lib/nixos"
#"/var/lib/systemd/coredump"
];
files = [
"/etc/machine-id"
];
};
};
}
|