dev theme
This commit is contained in:
parent
0fa772f8b7
commit
b4c3669967
16
flake.nix
16
flake.nix
@ -24,15 +24,17 @@
|
|||||||
# Activer nvim
|
# Activer nvim
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = ''
|
|
||||||
-- Add Dracula from Nix flake input
|
|
||||||
vim.opt.rtp:prepend("${inputs.plugin-dracula}");
|
|
||||||
|
|
||||||
-- Enable Dracula colorscheme
|
|
||||||
vim.cmd.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