From d806a7077c1a5148fcec0b8bef9e83948f2ed644 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Mon, 15 Jan 2024 06:52:03 +0100 Subject: [PATCH] Set up persistence for zathura and spotify --- home/features/desktop/spotify.nix | 10 +++++++++- home/features/desktop/zathura.nix | 6 ++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/home/features/desktop/spotify.nix b/home/features/desktop/spotify.nix index abc77db..66920c3 100644 --- a/home/features/desktop/spotify.nix +++ b/home/features/desktop/spotify.nix @@ -48,5 +48,13 @@ in ]; }; - # TODO: persistence + # {{{ Persistence + satellite.persistence.at.state.apps.spotify.directories = [ + "${config.xdg.configHome}/spotify" + ]; + + satellite.persistence.at.cache.apps.spotify.directories = [ + "${config.xdg.cacheHome}/spotify" + ]; + # }}} } diff --git a/home/features/desktop/zathura.nix b/home/features/desktop/zathura.nix index 36bb037..8ddd11e 100644 --- a/home/features/desktop/zathura.nix +++ b/home/features/desktop/zathura.nix @@ -87,4 +87,10 @@ }; home.shellAliases.pdf = "zathura --fork"; + + # {{{ Persistence + satellite.persistence.at.state.apps.zathura.directories = [ + "${config.xdg.dataHome}/zathura" + ]; + # }}} }