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 # More fancy shit
nvim-treesitter nvim-treesitter
# Language stuff # Language stuff
nvim-lspconfig nvim-lspconfig
trouble-nvim trouble-nvim
rust-vim rust-vim
] ++ lib.optionals (system != "aarch64-linux") [ ] ++ lib.optionals (system != "aarch64-linux") [ vim-go ];
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 { };
} }