nixfmt everything

This commit is contained in:
Sam W 2022-04-16 21:58:28 +01:00
parent cd91fb622c
commit 94986efa4a
2 changed files with 10 additions and 12 deletions

View File

@ -1,14 +1,13 @@
{ pkgs, lib, system, ... }: { { pkgs, lib, system, ... }: {
programs.neovim.plugins = with pkgs.vimPlugins; [ programs.neovim.plugins = with pkgs.vimPlugins;
# More fancy shit [
nvim-treesitter # More fancy shit
# Language stuff nvim-treesitter
nvim-lspconfig # Language stuff
trouble-nvim nvim-lspconfig
rust-vim trouble-nvim
] ++ lib.optionals (system != "aarch64-linux") [ rust-vim
vim-go ] ++ lib.optionals (system != "aarch64-linux") [ vim-go ];
];
programs.neovim.extraConfig = '' programs.neovim.extraConfig = ''
lua <<EOF lua <<EOF
${builtins.readFile ./dev.lua} ${builtins.readFile ./dev.lua}

View File

@ -1,6 +1,5 @@
# TODO: auto import everything # TODO: auto import everything
{ pkgs, ... }: { pkgs, ... }: {
{
qrclip = pkgs.callPackage ./qrclip { }; qrclip = pkgs.callPackage ./qrclip { };
zbar = pkgs.callPackage ./zbar { }; zbar = pkgs.callPackage ./zbar { };
} }