diff --git a/flake.nix b/flake.nix index 1cc3f39..ed47035 100644 --- a/flake.nix +++ b/flake.nix @@ -4,7 +4,7 @@ nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; home-manager = { url = "github:nix-community/home-manager"; - inputs.nixkpkgs.follows = "nixpkgs"; + inputs.nixpkgs.follows = "nixpkgs"; }; spicetify-nix.url = "github:the-argus/spicetify-nix"; }; diff --git a/home-manager/init.lua b/home-manager/init.lua index 3f7dd2d..e77b791 100644 --- a/home-manager/init.lua +++ b/home-manager/init.lua @@ -26,9 +26,6 @@ local function map(mode, lhs, rhs, opts) end -- show tree map("n", "t", ":NvimTreeToggle") --- coc completion -map("i", "", 'pumvisible() ? coc#_select_confirm() : \"\\u\\\"', {silent = true, expr = true}) - -- plugin setups require("nvim-tree").setup { open_on_setup = true, @@ -41,12 +38,21 @@ require("nvim-tree").setup { } require("nvim-web-devicons").setup() require("nvim-treesitter.configs").setup { - ensure_installed = "all", + ensure_installed = "", sync_install = false, - auto_install = true, + auto_install = false, highlight = { enable = true, additional_vim_regex_highlighting = false } } - +vim.g.coq_settings = { + auto_start = "shut-up", + xdg = true, + keymap = { + pre_select = true, + }, +} +-- shapes and colors +vim.cmd[[colorscheme tokyonight]] +vim.cmd[[hi Normal guibg=#000000]] diff --git a/home-manager/neovim.nix b/home-manager/neovim.nix index e8e08c2..59210fe 100644 --- a/home-manager/neovim.nix +++ b/home-manager/neovim.nix @@ -7,10 +7,6 @@ withNodeJs = true; withPython3 = true; withRuby = true; - coc = { - enable = true; - package = pkgs.vimPlugins.coc-nvim; - }; plugins = with pkgs.vimPlugins; [ vim-smoothie #smooth scrolling tokyonight-nvim #color scheme @@ -20,8 +16,10 @@ nvim-web-devicons # for tree-lua # telescope-nvim # file finder indentLine # indentlines - nvim-treesitter #syntax highlighting + (nvim-treesitter.withPlugins (plugins: pkgs.tree-sitter.allGrammars)) #syntax highlighting + coq_nvim # autocompletions ]; extraConfig = "lua << EOF\n" + builtins.readFile ./init.lua + "\nEOF"; + }; } diff --git a/misc/Main_VM.xml b/misc/Main_VM.xml deleted file mode 100644 index 50338cf..0000000 --- a/misc/Main_VM.xml +++ /dev/null @@ -1,215 +0,0 @@ - - Main_VM - dc54280f-8a72-4e0b-9771-e3fa6871c58b - - - - - - 16384000 - 16384000 - - - - - 6 - 2 - - - - - - - - - - - - - hvm - /run/libvirt/nix-ovmf/OVMF_CODE.fd - /var/lib/libvirt/qemu/nvram/Main_VM_VARS.fd - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - destroy - restart - destroy - - - - - - /run/libvirt/nix-emulators/qemu-system-x86_64 - - - - -
- - - - - -
- - -
- - - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - -
- - - - - - -
- - - - - - - - - - - - - - -