You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apologises if this is a silly question, but I'm wondering what is the best way to expose my Neovim config as an output. So that other people could do say nix run .#neovim
lib.mkFlake{channels-config={allowUnfree=true;};# ...overlays=withinputs;[nixgl.overlaynur.overlays.defaultnix-topology.overlays.default];deploy=lib.mkDeploy{inherit(inputs)self;};checks=builtins.mapAttrs(system: deploy-lib:
deploy-lib.deployChecksinputs.self.deploy)inputs.deploy-rs.lib;topology=withinputs;lethost=self.nixosConfigurations.${builtins.head(builtins.attrNamesself.nixosConfigurations)};inimportnix-topology{inherit(host)pkgs;# Only this package set must include nix-topology.overlays.defaultmodules=[(import./topology{inherit(host)config;}){inherit(self)nixosConfigurations;}];};};
I'm not sure on the specifics of nix-cats, but what worked for me with my Nixvim configuration was splitting it out into a different flake, and then using the package from the outputs of that flake in my home.packages.
This is how the creator of this project doesitin their nix config.
Hey,
Apologises if this is a silly question, but I'm wondering what is the best way to expose my Neovim config as an output. So that other people could do say
nix run .#neovim
My flake.nix (https://gitlab.com/hmajid2301/nixicle/-/blob/main/flake.nix) looks something like this:
My Neovim config is currently a module at
modules/home/cli/editors/neovim
, link to config: https://gitlab.com/hmajid2301/nixicle/-/tree/main/modules/home/cli/editors/neovimAny help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: