neovim module changes
This commit is contained in:
parent
87af62f88b
commit
80c7c536bd
2 changed files with 5 additions and 4 deletions
|
@ -142,8 +142,6 @@
|
|||
|
||||
environment = {
|
||||
sessionVariables = {
|
||||
EDITOR = "${pkgs.neovim}/bin/nvim";
|
||||
|
||||
GTK_IM_MODULE = "fcitx";
|
||||
QT_IM_MODULE = "fcitx";
|
||||
XMODIFIERS = "@im=fcitx";
|
||||
|
@ -373,7 +371,7 @@
|
|||
userName = "jacekpoz";
|
||||
userEmail = "jacekpoz@cock.li";
|
||||
signingKey = "0EEE6B0C9A8CC06820E59C3894E812A8B12AAE3C";
|
||||
editor = "${pkgs.neovim-nightly}/bin/nvim";
|
||||
editor = config.environment.sessionVariables.EDITOR;
|
||||
defaultBranch = "master";
|
||||
};
|
||||
starship.enable = true;
|
||||
|
|
|
@ -12,12 +12,15 @@ in {
|
|||
options.myOptions.programs.neovim.enable = mkEnableOption "enable neovim";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.sessionVariables = {
|
||||
EDITOR = "${pkgs.neovim}/bin/nvim";
|
||||
};
|
||||
|
||||
home-manager.users.${config'.username} = {
|
||||
imports = [ inputs.nixvim.homeManagerModules.nixvim ];
|
||||
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
package = pkgs.neovim-nightly;
|
||||
enableMan = true;
|
||||
colorscheme = "catppuccin";
|
||||
|
|
Loading…
Reference in a new issue