dev theme
This commit is contained in:
parent
b4c3669967
commit
b88249fe54
22
flake.nix
22
flake.nix
@ -24,17 +24,19 @@
|
|||||||
# Activer nvim
|
# Activer nvim
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
# Native way to configure Neovim
|
||||||
|
configure = {
|
||||||
|
customRC = ''
|
||||||
|
" Add Dracula to runtimepath
|
||||||
|
set runtimepath+=${inputs.plugin-dracula}
|
||||||
|
|
||||||
|
" Enable Dracula colorscheme
|
||||||
|
colorscheme dracula
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Set up Neovim configuration manually
|
|
||||||
xdg.configFile."nvim/init.lua".text = ''
|
|
||||||
-- Add Dracula to runtimepath
|
|
||||||
vim.opt.rtp:prepend("${inputs.plugin-dracula}");
|
|
||||||
|
|
||||||
-- Enable Dracula colorscheme
|
|
||||||
vim.cmd.colorscheme "dracula"
|
|
||||||
'';
|
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user