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