diff options
Diffstat (limited to 'snowfall/modules')
| -rw-r--r-- | snowfall/modules/home/apps/cmus/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
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"; |