nix-index, nvim treesitter
This commit is contained in:
@ -11,6 +11,8 @@ rec {
|
|||||||
# Feel free to split up your configuration and import pieces of it here.
|
# Feel free to split up your configuration and import pieces of it here.
|
||||||
|
|
||||||
./modules/emacs.nix
|
./modules/emacs.nix
|
||||||
|
|
||||||
|
# inputs.nixvim.homeManagerModules.nixvim
|
||||||
];
|
];
|
||||||
|
|
||||||
# Config my modules
|
# Config my modules
|
||||||
@ -152,10 +154,15 @@ rec {
|
|||||||
imagemagick
|
imagemagick
|
||||||
# htop
|
# htop
|
||||||
# httpie
|
# httpie
|
||||||
nix-index
|
ripgrep
|
||||||
nvd # nix rebuild diff
|
nvd # nix rebuild diff
|
||||||
neofetch # Easily see interesting package versions/kernel
|
neofetch # Easily see interesting package versions/kernel
|
||||||
|
|
||||||
|
# Some basics should be available everywhere
|
||||||
|
# This makes problems with conflicts in nix-store, for example gcc/ld and binutils/ld or different python versions
|
||||||
|
# python311
|
||||||
|
# gcc # nvim needs this
|
||||||
|
|
||||||
# Gnome extensions
|
# Gnome extensions
|
||||||
# TODO: Make a gnome module
|
# TODO: Make a gnome module
|
||||||
# gnome.gnome-tweaks # Disabled since settings should be set declaratively
|
# gnome.gnome-tweaks # Disabled since settings should be set declaratively
|
||||||
@ -239,7 +246,8 @@ rec {
|
|||||||
|
|
||||||
bat = { enable = true; };
|
bat = { enable = true; };
|
||||||
|
|
||||||
command-not-found.enable = true;
|
# Exclusive with nix-index
|
||||||
|
# command-not-found.enable = true;
|
||||||
|
|
||||||
direnv = {
|
direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -332,10 +340,10 @@ rec {
|
|||||||
"yeet" = "rm -rf";
|
"yeet" = "rm -rf";
|
||||||
};
|
};
|
||||||
# This init only occurs for login shell
|
# This init only occurs for login shell
|
||||||
# TODO: Make option for noisetorch activation
|
# TODO: Make option for noisetorch activation, doesn't work like this
|
||||||
loginShellInit = ''
|
# loginShellInit = ''
|
||||||
noisetorch -i
|
# noisetorch -i
|
||||||
'';
|
# '';
|
||||||
shellInit = ''
|
shellInit = ''
|
||||||
set -e fish_greeting
|
set -e fish_greeting
|
||||||
'';
|
'';
|
||||||
@ -598,11 +606,16 @@ rec {
|
|||||||
# TODO: Copy config from Arch dots
|
# TODO: Copy config from Arch dots
|
||||||
kitty = {
|
kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
font = { name = "Victor Mono SemiBold"; };
|
font = {
|
||||||
|
package = pkgs.victor-mono;
|
||||||
|
name = "Victor Mono SemiBold";
|
||||||
|
size = 12;
|
||||||
|
};
|
||||||
settings = {
|
settings = {
|
||||||
font_size = 12;
|
editor = "nvim";
|
||||||
scrollback_lines = 10000;
|
scrollback_lines = 10000;
|
||||||
window_padding_width = 10;
|
window_padding_width = 10;
|
||||||
|
# hide_window_decorations = "yes";
|
||||||
|
|
||||||
# Light Theme
|
# Light Theme
|
||||||
# background = "#f7f7f7";
|
# background = "#f7f7f7";
|
||||||
@ -633,7 +646,13 @@ rec {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# mpv.enable = true; # Use gnome apps for now
|
# Gnome apps for now
|
||||||
|
# mpv = {
|
||||||
|
# enable = true;
|
||||||
|
# scripts = with pkgs; [
|
||||||
|
# mpvScripts.mpris # Make controllable with media keys
|
||||||
|
# ];
|
||||||
|
# };
|
||||||
|
|
||||||
neovim = {
|
neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -660,11 +679,20 @@ rec {
|
|||||||
let printencoding='utf-8'
|
let printencoding='utf-8'
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
'';
|
'';
|
||||||
plugins = with pkgs.vimPlugins; [ vim-nix lightline-vim ];
|
plugins = with pkgs.vimPlugins; [
|
||||||
|
vim-nix
|
||||||
|
lightline-vim
|
||||||
|
(nvim-treesitter.withPlugins (plugins: pkgs.tree-sitter.allGrammars))
|
||||||
|
];
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nix-index = {
|
||||||
|
enable = true;
|
||||||
|
enableFishIntegration = true;
|
||||||
|
};
|
||||||
|
|
||||||
ssh.enable = true;
|
ssh.enable = true;
|
||||||
|
|
||||||
starship = {
|
starship = {
|
||||||
|
Reference in New Issue
Block a user