-
Notifications
You must be signed in to change notification settings - Fork 1
/
impermanence.nix
58 lines (58 loc) · 1.24 KB
/
impermanence.nix
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
49
50
51
52
53
54
55
56
57
58
{
#security.sudo.extraConfig = "Defaults lecture=never";
system.activationScripts.createPersist = "mkdir -p /persist";
environment.persistence."/persist" = {
hideMounts = true;
directories = [
"/etc/nixos"
"/etc/NetworkManager"
"/var/lib/bluetooth"
];
files = [
"/etc/machine-id"
"/etc/ssh/ssh_host_ed25519_key"
"/etc/ssh/ssh_host_ed25519_key.pub"
#"/var/lib/sops-nix/key.txt"
];
users.psiri = {
directories = [
".cache"
".config"
".config/Spotify"
".config/Slack"
".config/Mozilla"
".config/sops/age"
".gnupg"
".local/share/remmina"
".local/share/ulauncher"
".local/state/home-manager"
".local/state/wireplumber"
".mozilla"
".okta"
".pki"
".ssh"
".terraform.d"
".vandyke"
".vscode-oss"
".zoom"
".zsh"
"Desktop"
"Documents"
"Downloads"
"JoplinBackup"
"Music"
"Pictures"
"SecureCRT Logs"
"Videos"
];
files = [
".bash_history"
#".gitconfig"
#".zlogin"
#".zshenv"
".zsh_history"
#".zshrc"
];
};
};
}