From 6c677b782ae507976e9b31b9713530cab8564001 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Fri, 7 Feb 2025 21:17:46 -0800 Subject: migration: persist cmus config --- snowfall/modules/home/apps/cmus/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'snowfall') diff --git a/snowfall/modules/home/apps/cmus/default.nix b/snowfall/modules/home/apps/cmus/default.nix index 8fb286f..3124d07 100644 --- a/snowfall/modules/home/apps/cmus/default.nix +++ b/snowfall/modules/home/apps/cmus/default.nix @@ -2,6 +2,7 @@ with lib; with lib.${namespace}; let cfg = config.${namespace}.apps.cmus; + impermanence = config.${namespace}.impermanence; in { options.${namespace}.apps.cmus = with types; { enable = mkEnableOption "cmus"; @@ -12,6 +13,12 @@ in { cmus ]; + home.persistence.${impermanence.location} = { + directories = [ + ".config/cmus" + ]; + }; + xdg.desktopEntries.cmus = { name = "cmus"; genericName = "Music Player"; -- cgit v1.2.3