mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
changes to nvim and readme
This commit is contained in:
parent
3f91cf0d32
commit
e696907260
4 changed files with 118 additions and 73 deletions
16
README.md
16
README.md
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
My personal NixOS stash🔥
|
My personal NixOS stash🔥
|
||||||
|
|
||||||
The `sysConfig` directory contains subdirectories for each of my machines🖥️
|
The `sysConfig`🖥️ directory contains subdirectories for each of my machines
|
||||||
|
|
||||||
In the `homeConfig`🏠️ directory, you'll find various dotfiles and config files that make my home directory extra nixy
|
In the `homeConfig`🏠️ directory, you'll find various dotfiles and config files that make my home directory extra nixy
|
||||||
|
|
||||||
If you need a list of available Nix packages and options:
|
If you need a list of available packages and options:
|
||||||
|
|
||||||
- [nixpkgs Packages](https://search.nixos.org/packages) 📦️
|
- [nixpkgs Packages](https://search.nixos.org/packages) 📦️
|
||||||
- [nixpkgs Options](https://search.nixos.org/options?) 🔍️
|
- [nixpkgs Options](https://search.nixos.org/options?) 🔍️
|
||||||
|
|
@ -14,7 +14,9 @@ If you need a list of available Nix packages and options:
|
||||||
|
|
||||||
## Get Inspired 🌟
|
## Get Inspired 🌟
|
||||||
|
|
||||||
Fork this repo and create your own NixOS config💫
|
Ready to go down the Nix 🐇🕳️❓️
|
||||||
|
|
||||||
|
Fork this repo and create your own NixOS config✨
|
||||||
|
|
||||||
Take inspiration💡, borrow ideas💭 and customize it to your 💖 content
|
Take inspiration💡, borrow ideas💭 and customize it to your 💖 content
|
||||||
|
|
||||||
|
|
@ -24,16 +26,16 @@ Take inspiration💡, borrow ideas💭 and customize it to your 💖 content
|
||||||
|
|
||||||
## Requirements ⚙️
|
## Requirements ⚙️
|
||||||
|
|
||||||
Get ready to go down the Nix 🐇🕳️, make sure you have the following:
|
|
||||||
|
|
||||||
- Nix package manager ❄️
|
- Nix package manager ❄️
|
||||||
- Nix 2.0 `flakes` enabled⚡️
|
- Nix 2.0 `flakes` enabled⚡️
|
||||||
|
|
||||||
Install Nix by visiting the [NixOS website](https://www.nixos.org/) or by using your package manager🚀
|
Install by visiting [nixos.org](https://www.nixos.org/) or through your package manager🚀
|
||||||
|
|
||||||
### Enabling Flakes ❄️
|
### Enabling Flakes ❄️
|
||||||
|
|
||||||
Unlock the full power of Nix, add the following line to your Nix configuration:
|
Unleash Nix💥
|
||||||
|
|
||||||
|
Add to your `nix.conf` or `configuration.nix`👇️
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
nix = {
|
nix = {
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ cmp.setup({
|
||||||
},
|
},
|
||||||
sources = {
|
sources = {
|
||||||
{ name = "nvim_lsp" },
|
{ name = "nvim_lsp" },
|
||||||
{ name = "luasnip" },
|
-- { name = "luasnip" },
|
||||||
-- other sources...
|
-- other sources...
|
||||||
},
|
},
|
||||||
-- other configurations...
|
-- other configurations...
|
||||||
|
|
|
||||||
|
|
@ -1,39 +1,82 @@
|
||||||
return {
|
return {
|
||||||
{
|
|
||||||
'projekt0n/github-nvim-theme',
|
|
||||||
lazy = false, -- make sure we load this during startup if it is your main colorscheme
|
|
||||||
priority = 1000, -- make sure to load this before all the other start plugins
|
|
||||||
config = function()
|
|
||||||
require('github-theme').setup({
|
|
||||||
options = {
|
|
||||||
transparent = true;
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
vim.cmd('colorscheme github_dark_high_contrast')
|
{
|
||||||
|
"catppuccin/nvim",
|
||||||
|
name = "catppuccin",
|
||||||
|
priority = 1000,
|
||||||
|
colorscheme = function()
|
||||||
|
require("catppuccin").setup({
|
||||||
|
flavour = "mocha", -- latte, frappe, macchiato, mocha
|
||||||
|
background = { -- :h background
|
||||||
|
light = "latte",
|
||||||
|
dark = "mocha",
|
||||||
|
},
|
||||||
|
transparent_background = true, -- disables setting the background color.
|
||||||
|
show_end_of_buffer = false, -- shows the '~' characters after the end of buffers
|
||||||
|
term_colors = false, -- sets terminal colors (e.g. `g:terminal_color_0`)
|
||||||
|
dim_inactive = {
|
||||||
|
enabled = false, -- dims the background color of inactive window
|
||||||
|
shade = "dark",
|
||||||
|
percentage = 0.15, -- percentage of the shade to apply to the inactive window
|
||||||
|
},
|
||||||
|
no_italic = false, -- Force no italic
|
||||||
|
no_bold = false, -- Force no bold
|
||||||
|
no_underline = false, -- Force no underline
|
||||||
|
styles = { -- Handles the styles of general hi groups (see `:h highlight-args`):
|
||||||
|
comments = { "italic" }, -- Change the style of comments
|
||||||
|
conditionals = { "italic" },
|
||||||
|
loops = {},
|
||||||
|
functions = {},
|
||||||
|
keywords = {},
|
||||||
|
strings = {},
|
||||||
|
variables = {},
|
||||||
|
numbers = {},
|
||||||
|
booleans = {},
|
||||||
|
properties = {},
|
||||||
|
types = {},
|
||||||
|
operators = {},
|
||||||
|
},
|
||||||
|
color_overrides = {
|
||||||
|
mocha = {
|
||||||
|
base = "#000000",
|
||||||
|
mantle = "#000000",
|
||||||
|
crust = "#000000",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
custom_highlights = {},
|
||||||
|
integrations = {
|
||||||
|
cmp = true,
|
||||||
|
gitsigns = true,
|
||||||
|
nvimtree = true,
|
||||||
|
telescope = true,
|
||||||
|
notify = false,
|
||||||
|
mini = false,
|
||||||
|
},
|
||||||
|
vim.cmd.colorscheme("catppuccin"),
|
||||||
|
})
|
||||||
end,
|
end,
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
{'williamboman/mason.nvim', enabled = false },
|
{ "williamboman/mason.nvim", enabled = false },
|
||||||
|
|
||||||
{
|
{
|
||||||
'VonHeikemen/lsp-zero.nvim',
|
"VonHeikemen/lsp-zero.nvim",
|
||||||
branch = 'v2.x',
|
branch = "v2.x",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
-- LSP Support
|
-- LSP Support
|
||||||
{'neovim/nvim-lspconfig'}, -- Required
|
{ "neovim/nvim-lspconfig" }, -- Required
|
||||||
{'williamboman/mason-lspconfig.nvim'}, -- Optional
|
{ "williamboman/mason-lspconfig.nvim" }, -- Optional
|
||||||
|
|
||||||
-- Autocompletion
|
-- Autocompletion
|
||||||
{'hrsh7th/nvim-cmp'}, -- Required
|
{ "hrsh7th/nvim-cmp" }, -- Required
|
||||||
{'hrsh7th/cmp-nvim-lsp'}, -- Required
|
{ "hrsh7th/cmp-nvim-lsp" }, -- Required
|
||||||
{'L3MON4D3/LuaSnip'}, -- Required
|
{ "L3MON4D3/LuaSnip" }, -- Required
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{ 'raichoo/purescript-vim' },
|
|
||||||
{ 'vmchale/dhall-vim' },
|
|
||||||
{ 'elixir-lang/vim-elixir' },
|
|
||||||
{ 'xiyaowong/transparent.nvim'},
|
|
||||||
|
|
||||||
|
{ "raichoo/purescript-vim" },
|
||||||
|
{ "vmchale/dhall-vim" },
|
||||||
|
{ "elixir-lang/vim-elixir" },
|
||||||
|
{ "xiyaowong/transparent.nvim" },
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue