Skip to content
Discussion options

You must be logged in to vote

well, option 1, and definitely the easiest one is to put them directly in your config in spell/*

Option 2 would be something kinda like the following

inputs.my-spellfile = { # a repo with your spell file in it
  url = "idk";
  flake = false;
};

If your spellfile was in your repo and not in the config directory and you wanted to do it as a plugin you could do the ${./nix_path} to it rather than a flake input or fetchGit

# in your StartupPlugins
(mkPlugin "my-spellfile" (pkgs.runCommand "my-spellfile" { } ''
  mkdir -p $out/spell
  cp ${inputs.my-spellfile}/* $out/spell/
''))

However, if your repo you are pulling them from already has the spell file in the spell/* directory then you can ski…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dwinkler1
Comment options

Answer selected by BirdeeHub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants