nix-config/modules/neovim/colorscheme.nix
2026-03-03 13:46:54 +01:00

16 lines
484 B
Nix

{ ... }:
{
flake.modules.homeManager.neovim-colorscheme = {
programs.nixvim = {
colorscheme = "winterly";
# Make palette available to this module but
# also for other configuration (e.g. lualine)
extraFiles."lua/dnsc/palette.lua".source = ./extraFiles/palette.lua;
# Set custorscheme in neovims runtimepath so that neovim
# discovers it automatically
extraFiles."colors/winterly.lua".source = ./extraFiles/winterly.lua;
};
};
}