1
Fork 0

feat: dashboard and stuff for nvim

This commit is contained in:
Matei Adriel 2022-02-01 16:18:36 +02:00
parent 79455a6e29
commit 441844b0c5
5 changed files with 57 additions and 46 deletions
modules
applications
dev
overlays

View file

@ -25,7 +25,7 @@ in
# Formatters
luaformatter # lua
nodePackages.prettierd # prettier but faster
prettierd # prettier but faster
# Others
fzf # Required by lua-fzf
@ -42,6 +42,7 @@ in
purescript-vim # purescript syntax highlighting
nvim-comment # allows toggling line-comments
nvim-treesitter # use treesitter for syntax highlighting
startup-nvim # splash screen
];
};
}

View file

@ -2,7 +2,8 @@
let
node = pkgs.nodejs-17_x;
yarn = pkgs.yarn.override { nodejs = node; };
in {
in
{
home-manager.users.adrielus.home.packages = with pkgs;
with nodePackages; [
node
@ -14,11 +15,11 @@ in {
# TODO: find a good way to reinstall some of these
/* tsdx
mklicense
preact-cli
create-next-app
create-snowpack-app
bower
mklicense
preact-cli
create-next-app
create-snowpack-app
bower
*/
];
}

View file

@ -1,6 +1,7 @@
self: super:
let customPackages = pkgs.callPackage ./npm { };
in with self; {
let customPackages = self.callPackage ./npm { };
in
with self; {
# Faster prettier for editors
nodePackages.prettierd = customPackages."@fsouza/prettierd";
prettierd = customPackages."@fsouza/prettierd";
}