From 9cbf296eb1e0b945ca94ddbcefd3baa11e8121eb Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sat, 24 Feb 2024 22:49:13 +0530 Subject: [PATCH] switch everything to use symlinks --- home/persistence.nix | 50 ++++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/home/persistence.nix b/home/persistence.nix index f5a4c60..ca2e9b5 100644 --- a/home/persistence.nix +++ b/home/persistence.nix @@ -2,33 +2,33 @@ _: { home.persistence."/persist/home" = { allowOther = true; directories = [ - ".cache/aria2" - ".cache/nix-index" - ".cache/ytfzf" - ".config/1Password" - ".config/dconf" - ".config/discord" - ".config/doctl" - ".config/lazygit" - ".config/gh" - ".fly" - ".gnupg" - ".local/share/direnv" - ".local/share/keyrings" - ".local/share/nix" - ".local/share/Steam" - ".local/share/zoxide" - ".local/share/zsh" - ".local/state" ".mozilla" ".ssh" - ".steam" - "Documents" - "Downloads" - "Music" - "Others" - "Pictures" - "Videos" + ".config/dconf" + ".gnupg" + ".local/state" + { directory = ".cache/aria2"; method = "symlink"; } + { directory = ".cache/nix-index"; method = "symlink"; } + { directory = ".cache/ytfzf"; method = "symlink"; } + { directory = ".config/1Password"; method = "symlink"; } + { directory = ".config/discord"; method = "symlink"; } + { directory = ".config/doctl"; method = "symlink"; } + { directory = ".config/lazygit"; method = "symlink"; } + { directory = ".config/gh"; method = "symlink"; } + { directory = ".fly"; method = "symlink"; } + { directory = ".local/share/direnv"; method = "symlink"; } + { directory = ".local/share/keyrings"; method = "symlink"; } + { directory = ".local/share/nix"; method = "symlink"; } + { directory = ".local/share/Steam"; method = "symlink"; } + { directory = ".local/share/zoxide"; method = "symlink"; } + { directory = ".local/share/zsh"; method = "symlink"; } + { directory = ".steam"; method = "symlink"; } + { directory = "Documents"; method = "symlink"; } + { directory = "Downloads"; method = "symlink"; } + { directory = "Music"; method = "symlink"; } + { directory = "Others"; method = "symlink"; } + { directory = "Pictures"; method = "symlink"; } + { directory = "Videos"; method = "symlink"; } { directory = ".config/nvim"; method = "symlink"; } { directory = ".config/nixos"; method = "symlink"; } { directory = ".local/share/nvim"; method = "symlink"; }