add python env for plover

This commit is contained in:
Charlotte 🦝 Delenk 2022-06-18 09:23:53 +01:00
parent bfb2c25172
commit 5aae2cf9da
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -4,7 +4,8 @@
system,
...
}: let
inherit (pkgs) plover plover-plugins-manager;
inherit (pkgs) plover plover-plugins-manager regenpfeifer plover-regenpfeifer;
plover-env = plover.pythonModule.withPackages (_: [plover plover-plugins-manager plover-regenpfeifer]);
plover-src = plover.src;
plover-dictionaries = [
{
@ -60,8 +61,7 @@
});
in {
home.packages = [
plover
plover-plugins-manager
plover-env
];
home.activation.ploverSettings = lib.hm.dag.entryAfter ["writeBoundary"] ''
$DRY_RUN_CMD mkdir $VERBOSE_ARG -p $HOME/.config/plover