comment
This commit is contained in:
@ -45,6 +45,7 @@ in {
|
|||||||
autostart = mkBoolOpt false "Autoload Noisetorch suppression";
|
autostart = mkBoolOpt false "Autoload Noisetorch suppression";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# TODO: Store easyeffects presets/config (dconf com/github/wwmm/easyeffects ?)
|
||||||
easyeffects = {
|
easyeffects = {
|
||||||
enable = mkEnableOpt "EasyEffects";
|
enable = mkEnableOpt "EasyEffects";
|
||||||
autostart = mkBoolOpt false "Autoload EasyEffects suppression profile";
|
autostart = mkBoolOpt false "Autoload EasyEffects suppression profile";
|
||||||
|
@ -5,7 +5,7 @@ with mylib.modules;
|
|||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.modules.kitty;
|
cfg = config.modules.kitty;
|
||||||
cfgnv = config.modules.neovim;
|
# cfgnv = config.modules.neovim;
|
||||||
in {
|
in {
|
||||||
|
|
||||||
options.modules.kitty = {
|
options.modules.kitty = {
|
||||||
@ -13,8 +13,6 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
# TODO: Copy config from Arch dots, also move the entire config folder (to allow ephemereal configs)
|
|
||||||
# TODO: Light/Dark theme option
|
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
font = {
|
font = {
|
||||||
@ -23,8 +21,9 @@ in {
|
|||||||
size = 12;
|
size = 12;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# TODO: Configure
|
||||||
settings = {
|
settings = {
|
||||||
editor = (if cfgnv.enable then "nvim" else "nano");
|
editor = "nvim";
|
||||||
scrollback_lines = 10000;
|
scrollback_lines = 10000;
|
||||||
window_padding_width = 10;
|
window_padding_width = 10;
|
||||||
# hide_window_decorations = "yes";
|
# hide_window_decorations = "yes";
|
||||||
|
@ -9,10 +9,16 @@ in {
|
|||||||
|
|
||||||
options.modules.neovim = {
|
options.modules.neovim = {
|
||||||
enable = mkEnableOpt "NeoVim";
|
enable = mkEnableOpt "NeoVim";
|
||||||
alias = mkBoolOpt "Link nvim to vim/vi";
|
alias = mkBoolOpt false "Link nvim to vim/vi";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
# TODO: Configure by enabled editor
|
||||||
|
home.sessionVariables = {
|
||||||
|
EDITOR = "nvim";
|
||||||
|
VISUAL = "nvim";
|
||||||
|
};
|
||||||
|
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
@ -42,8 +48,9 @@ in {
|
|||||||
|
|
||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
# vim-nix
|
# vim-nix
|
||||||
|
# YouCompleteMe
|
||||||
surround-nvim
|
surround-nvim
|
||||||
# lightline-vim
|
|
||||||
{
|
{
|
||||||
plugin = lualine-nvim;
|
plugin = lualine-nvim;
|
||||||
config = ''
|
config = ''
|
||||||
@ -52,10 +59,8 @@ in {
|
|||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
# vim-gitgutter
|
|
||||||
# YouCompleteMe
|
|
||||||
{
|
|
||||||
|
|
||||||
|
{
|
||||||
plugin = nvim-autopairs;
|
plugin = nvim-autopairs;
|
||||||
config = ''
|
config = ''
|
||||||
lua << EOF
|
lua << EOF
|
||||||
@ -63,9 +68,9 @@ in {
|
|||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
plugin = (nvim-treesitter.withPlugins
|
plugin = (nvim-treesitter.withPlugins (plugins: pkgs.tree-sitter.allGrammars));
|
||||||
(plugins: pkgs.tree-sitter.allGrammars));
|
|
||||||
config = ''
|
config = ''
|
||||||
lua << EOF
|
lua << EOF
|
||||||
require('nvim-treesitter.configs').setup {
|
require('nvim-treesitter.configs').setup {
|
||||||
|
Reference in New Issue
Block a user