From fcf6d29648d094c3496d2db54c8793be5283a6e0 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Sat, 8 Feb 2025 17:04:38 -0800 Subject: migration: anki --- hosts/c-pc/home.nix | 3 --- snowfall/homes/x86_64-linux/c/default.nix | 1 + snowfall/modules/home/apps/default.nix | 4 ++++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/hosts/c-pc/home.nix b/hosts/c-pc/home.nix index 6419232..ae5f999 100644 --- a/hosts/c-pc/home.nix +++ b/hosts/c-pc/home.nix @@ -29,7 +29,6 @@ ".local/share/jellyfin" ".cache/jellyfin" - ".local/share/Anki2" ".local/share/lutris" ]; }; @@ -54,8 +53,6 @@ jellyfin-media-player mkvtoolnix - anki-bin - obsidian #TODO: latest update broke diff --git a/snowfall/homes/x86_64-linux/c/default.nix b/snowfall/homes/x86_64-linux/c/default.nix index 4355642..635d436 100644 --- a/snowfall/homes/x86_64-linux/c/default.nix +++ b/snowfall/homes/x86_64-linux/c/default.nix @@ -18,6 +18,7 @@ with lib; with lib.${namespace}; { gimp.enable = true; qbittorrent.enable = true; nicotine.enable = true; + anki.enable = true; prismlauncher.extra.rusherhack.enable = true; }; diff --git a/snowfall/modules/home/apps/default.nix b/snowfall/modules/home/apps/default.nix index c19f9b2..0841a54 100644 --- a/snowfall/modules/home/apps/default.nix +++ b/snowfall/modules/home/apps/default.nix @@ -17,5 +17,9 @@ with lib; with lib.${namespace}; { ".local/share/nicotine" ]; }) + (mkSimpleApp "anki" { + packages = [ anki-bin ]; + persist = [ ".local/share/Anki2" ]; + }) ]; } -- cgit v1.2.3