summaryrefslogtreecommitdiff
path: root/machines/lenovo/impermanence.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/lenovo/impermanence.nix')
-rw-r--r--machines/lenovo/impermanence.nix44
1 files changed, 44 insertions, 0 deletions
diff --git a/machines/lenovo/impermanence.nix b/machines/lenovo/impermanence.nix
new file mode 100644
index 0000000..1bb98f5
--- /dev/null
+++ b/machines/lenovo/impermanence.nix
@@ -0,0 +1,44 @@
+{
+ environment.persistence."/nix/persist" = {
+ enable = true;
+ hideMounts = true;
+ directories = [
+ "/var/log"
+ "/var/lib/bluetooth"
+ "/var/lib/nixos"
+ "/var/lib/systemd/coredump"
+ "/etc/NetworkManager/system-connections"
+ "/etc/ssh"
+ ];
+ files = [
+ "/etc/machine-id"
+ "/etc/ly/save.txt"
+ ];
+ users."andromeda" = {
+ directories = [
+ ".backups"
+ ".local/share/Anki2"
+ ".local/share/chat.fluffy.fluffychat"
+ ".local/share/zoxide"
+ ".ssh"
+ "conf"
+ "Downloads"
+ "pp"
+ ];
+ files = [
+ ".bash_history"
+ ".brush_history"
+ ];
+ };
+ users."mtgmonkey" = {
+ directories = [
+ ".local/share/zoxide"
+ ".ssh"
+ ];
+ files = [
+ ".bash_history"
+ ".brush_history"
+ ];
+ };
+ };
+}