From 4b8882d82dcc8667d2b1276d65e43d081c5fa868 Mon Sep 17 00:00:00 2001 From: andromeda Date: Wed, 31 Dec 2025 02:28:00 +0100 Subject: change pub key management again, centralize users, start to modularize lenovo conf --- machines/lenovo/impermanence.nix | 44 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 machines/lenovo/impermanence.nix (limited to 'machines/lenovo/impermanence.nix') 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" + ]; + }; + }; +} -- cgit v1.3