aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2025-02-08 17:04:38 -0800
committerCaroline Larimore <caroline@larimo.re>2025-04-14 18:58:51 -0700
commitfcf6d29648d094c3496d2db54c8793be5283a6e0 (patch)
tree79577efe97e5f168eccf19d1a97641fc0c86f3de
parentc2c8b60352d562fd1229dd699525f03bd5ece213 (diff)
migration: anki
-rw-r--r--hosts/c-pc/home.nix3
-rw-r--r--snowfall/homes/x86_64-linux/c/default.nix1
-rw-r--r--snowfall/modules/home/apps/default.nix4
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" ];
+ })
];
}