mirror of
https://github.com/materusPL/nixos-config
synced 2026-07-02 12:46:42 +00:00
configurations: add vk basalt, add hp drivers, vim changes
This commit is contained in:
@@ -4,6 +4,8 @@ let
|
||||
pkgs = (import materusCfg.nixerus { inherit pkgs; }) //
|
||||
(if pkgs.system == "x86_64-linux" then { i686Linux = import materusCfg.nixerus { pkgs = pkgs.pkgsi686Linux; }; } else { });
|
||||
cfg = materusCfg;
|
||||
unstable = import materusCfg.materusFlake.inputs.nixpkgs { system = materusCfg.arch; config = { allowUnfree = true; nvidia.acceptLicense = true; }; };
|
||||
|
||||
};
|
||||
in
|
||||
{
|
||||
|
||||
@@ -7,24 +7,29 @@ in
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
package = materusArg.unstable.neovim-unwrapped;
|
||||
coc.enable = true;
|
||||
coc.package = materusArg.unstable.vimPlugins.coc-nvim;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
vimdiffAlias = true;
|
||||
defaultEditor = true;
|
||||
|
||||
|
||||
extraConfig = ''
|
||||
set number
|
||||
'';
|
||||
extraLuaConfig = ''
|
||||
'';
|
||||
|
||||
extraPackages = with pkgs;[
|
||||
];
|
||||
|
||||
plugins = with pkgs.vimPlugins;[
|
||||
plugins = with materusArg.unstable.vimPlugins;[
|
||||
syntastic
|
||||
|
||||
vim-fugitive
|
||||
vim-airline
|
||||
vim-nix
|
||||
|
||||
nvim-fzf
|
||||
nvim-treesitter.withAllGrammars
|
||||
|
||||
|
||||
Reference in New Issue
Block a user