about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-03-21T16·17+0200
committertazjin <mail@tazj.in>2021-03-21T16·21+0000
commit9d5f40bddacea7d9788a7833b8d5a799b3962e77 (patch)
treea5e8a503c1c68e7eb0f29cce240f2e890d73d189
parent1c0bf5c4519ffd6e2e619531ef0efc55ff8425ee (diff)
fix(tazjin/tverskoy): Persist Mullvad settings & rustup downloads r/2313
Change-Id: I6ce75bff1d2e6ed318af9edc878cc59604b7a597
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2635
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
-rw-r--r--users/tazjin/nixos/tverskoy/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix
index 0a44a97fc871..d4f54e3dffde 100644
--- a/users/tazjin/nixos/tverskoy/default.nix
+++ b/users/tazjin/nixos/tverskoy/default.nix
@@ -111,10 +111,11 @@ in lib.fix(self: {
 
   environment.persistence."/persist" = {
     directories = [
-      "/var/log"
+      "/etc/NetworkManager/system-connections"
+      "/var/cache/mullvad-vpn"
       "/var/lib/bluetooth"
       "/var/lib/systemd/coredump"
-      "/etc/NetworkManager/system-connections"
+      "/var/log"
     ];
     files = [
       "/etc/machine-id"
@@ -250,6 +251,7 @@ in lib.fix(self: {
           ".local/share/direnv"
           ".local/share/fish/"
           ".password-store"
+          ".rustup"
           ".ssh"
           ".telega"
           "mail"