diff --git a/home/packages.nix b/home/packages.nix index 594526b1..26a103c4 100644 --- a/home/packages.nix +++ b/home/packages.nix @@ -18,7 +18,7 @@ xdg-utils hyprshot - obsidian + # obsidian xournalpp vlc keepassxc diff --git a/home/persist.nix b/home/persist.nix index 64629674..870535c9 100644 --- a/home/persist.nix +++ b/home/persist.nix @@ -1 +1,35 @@ -{...}: {} +{ + lib, + conf, +}: { + data = { + directories = [ + ".config/syncthing" + ".gnupg" + ".local/share/PrismLauncher/instances" + ".ssh" + + "nixos" + ]; + files = []; + }; + + cache = { + directories = [ + ".cache/nix" + ".cache/spotify" + ".cargo" + ".config/obsidian" + ".config/spotify" + lib.mkIf + conf.gaming.enable + ".local/share/PrismLauncher" + lib.mkIf + conf.gaming.enable + ".local/share/Steam" + ".local/state/wireplumber" + ".thunderbird" + ]; + files = []; + }; +}