Format code with alejandra

This commit is contained in:
2022-04-23 17:52:45 +01:00
parent 0d56231235
commit d90883e404
27 changed files with 743 additions and 677 deletions

View File

@@ -1,88 +1,86 @@
{ pkgs, ... }:
{pkgs, ...}: {
programs.alacritty = {
enable = false;
settings = {
font = {
normal = {
family = "Iosevka";
style = "Regular";
};
};
{
programs.alacritty = {
enable = false;
settings = {
font = {
normal = {
family = "Iosevka";
style = "Regular";
};
};
cursor = {
style = {
shape = "Underline";
};
};
cursor = {
style= {
shape = "Underline";
};
};
colors = {
primary = {
background = "0x282a36";
foreground = "0xf8f8f2";
};
cursor = {
text = "CellBackground";
cursor = "CellForeground";
};
vi_mode_cursor = {
text = "CellBackground";
cursor = "CellForeground";
};
search = {
matches = {
foreground = "0x44475a";
background = "0x50fa7b";
};
focused_match = {
foreground = "0x44475a";
background = "0xffb86c";
};
bar = {
background = "0x282a36";
foreground = "0xf8f8f2";
};
};
line_indicator = {
foreground = "None";
background = "None";
};
selection = {
text = "CellForeground";
background = "0x44475a";
};
normal = {
black = "0x000000";
red = "0xff5555";
green = "0x50fa7b";
yellow = "0xf1fa8c";
blue = "0xbd93f9";
magenta = "0xff79c6";
cyan = "0x8be9fd";
white = "0xbfbfbf";
};
bright = {
black = "0x4d4d4d";
red = "0xff6e67";
green = "0x5af78e";
yellow = "0xf4f99d";
blue = "0xcaa9fa";
magenta = "0xff92d0";
cyan = "0x9aedfe";
white = "0xe6e6e6";
};
dim = {
black = "0x14151b";
red = "0xff2222";
green = "0x1ef956";
yellow = "0xebf85b";
blue = "0x4d5b86";
magenta = "0xff46b0";
cyan = "0x59dffc";
white = "0xe6e6d1";
};
};
};
};
colors = {
primary = {
background = "0x282a36";
foreground = "0xf8f8f2";
};
cursor = {
text = "CellBackground";
cursor = "CellForeground";
};
vi_mode_cursor = {
text = "CellBackground";
cursor = "CellForeground";
};
search = {
matches = {
foreground = "0x44475a";
background = "0x50fa7b";
};
focused_match = {
foreground = "0x44475a";
background = "0xffb86c";
};
bar = {
background = "0x282a36";
foreground = "0xf8f8f2";
};
};
line_indicator = {
foreground = "None";
background = "None";
};
selection = {
text = "CellForeground";
background = "0x44475a";
};
normal = {
black = "0x000000";
red = "0xff5555";
green = "0x50fa7b";
yellow = "0xf1fa8c";
blue = "0xbd93f9";
magenta = "0xff79c6";
cyan = "0x8be9fd";
white = "0xbfbfbf";
};
bright = {
black = "0x4d4d4d";
red = "0xff6e67";
green = "0x5af78e";
yellow = "0xf4f99d";
blue = "0xcaa9fa";
magenta = "0xff92d0";
cyan = "0x9aedfe";
white = "0xe6e6e6";
};
dim = {
black = "0x14151b";
red = "0xff2222";
green = "0x1ef956";
yellow = "0xebf85b";
blue = "0x4d5b86";
magenta = "0xff46b0";
cyan = "0x59dffc";
white = "0xe6e6d1";
};
};
};
};
}

View File

@@ -1,7 +1,6 @@
{...}:
{
{...}: {
home.file.".config/helix" = {
source = ./config;
recursive = true;
};
source = ./config;
recursive = true;
};
}

View File

@@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
programs.kitty = {
enable = true;
font = {

View File

@@ -1,31 +1,30 @@
{ pkgs, ... }:
{pkgs, ...}: {
programs.neovim = {
enable = true;
{
programs.neovim = {
enable = true;
plugins = with pkgs.vimPlugins; [
(nvim-treesitter.withPlugins (
plugins:
with plugins; [
#tree-sitter-nix
tree-sitter-go
tree-sitter-c
tree-sitter-rust
tree-sitter-vim
tree-sitter-lua
tree-sitter-python
tree-sitter-html
tree-sitter-json
tree-sitter-markdown
tree-sitter-javascript
tree-sitter-typescript
]
))
vim-nix
plugins = with pkgs.vimPlugins; [
(nvim-treesitter.withPlugins (
plugins: with plugins; [
#tree-sitter-nix
tree-sitter-go
tree-sitter-c
tree-sitter-rust
tree-sitter-vim
tree-sitter-lua
tree-sitter-python
tree-sitter-html
tree-sitter-json
tree-sitter-markdown
tree-sitter-javascript
tree-sitter-typescript
]
))
vim-nix
nvim-lspconfig
];
viAlias = true;
vimAlias = true;
};
nvim-lspconfig
];
viAlias = true;
vimAlias = true;
};
}