{ ... }: { 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; }; }; }