zeal-qt5: rename to zeal

i don't really care that it's qt5 v.s. qt6, say.
This commit is contained in:
Colin 2023-05-10 21:24:55 +00:00
parent d5ffa6d796
commit 4ddf381d41
2 changed files with 5 additions and 4 deletions

View File

@ -12,7 +12,8 @@ let
}; };
}; };
in { in {
sane.programs.zeal-qt5 = { sane.programs.zeal = {
package = pkgs.zeal-qt5;
persist.plaintext = [ persist.plaintext = [
".cache/Zeal" ".cache/Zeal"
".local/share/Zeal" ".local/share/Zeal"
@ -48,7 +49,7 @@ in {
}; };
}; };
environment.pathsToLink = mkIf config.sane.programs.zeal-qt5.enabled [ environment.pathsToLink = mkIf config.sane.programs.zeal.enabled [
"/share/docset" "/share/docset"
]; ];
} }

View File

@ -23,8 +23,8 @@ in
}) })
(mkIf cfg { (mkIf cfg {
sane.programs.docsets.enableFor.system = true; sane.programs.docsets.enableFor.system = true;
# TODO: migrate this to `sane.user.programs.zeal-qt5.enable = true` # TODO: migrate this to `sane.user.programs.zeal.enable = true`
sane.programs.zeal-qt5.enableFor.user.colin = true; sane.programs.zeal.enableFor.user.colin = true;
}) })
]; ];
} }