diff --git a/config/programs/plover.nix b/config/programs/plover.nix index 3aa734df..5e825898 100644 --- a/config/programs/plover.nix +++ b/config/programs/plover.nix @@ -1,5 +1,17 @@ -{ pkgs, ... }: { +{ pkgs, ... }: +let + plover-src = pkgs.plover.dev.src; +in +{ home.packages = [ pkgs.plover.dev ]; + home.file = { + ".config/plover/main.json".source = "${plover-src}/plover/assets/main.json"; + ".config/plover/commands.json".source = "${plover-src}/plover/assets/commands.json"; + ".config/plover/user.json".text = builtins.toJSON { + "SER/TKPWAL" = "Sergal"; + "SERLG" = "Sergal"; + }; + }; }