Closed mabequinho closed 1 year ago
Looks good, I think it'll be a good addition for the flake.nix
. I'll be incorporating a lock file using packer.nvim, so in the future maybe I could have nix parse that file and install plugins through nix as well. Just some random thoughts
https://gist.github.com/archite/a42683880e99560e0a573a1876b8e965#file-astronvim-nix
This guy made a astroNvim home-manager module, it works flawlessly if adapted to nyoom. the only problem is to add a way to override nyoom files for custom configuration. That sould not be a problem, i know barely nothing about nix language but i know it can be done.
Also, sumneko lua server(i'm running the nixpkgs version for now) doesn't work if installed via Mason, i think the problem is because he tries to call the language server executable using a bash script inside mason /bin, the bash script would need to be called using steam-run
command to get a FHS environment.
@mabequinho Sorry to piggy back on this old issue.
I used the exact nix configuration you posted to get started on nyoom. My question is Nix related but how can I clone the repo from Github then move my various config files like config.fnl
, packages.fnl
, etc.
In this current configuration, my config files overide everything.
# nix-prefect-git <repo>
home = {
file = {
"nyoom.nvim" = {
source = pkgs.fetchFromGitHub {
owner = "shaunsingh";
repo = "nyoom.nvim";
rev = "947afef56a58e3d926e424d2c3d37194d357a40e";
sha256 = "1bqc7w5vvr38xjab80mfn69l6cdqr4b4ill2qpi8hysjpgh26nbg";
};
target = ".config/nvim";
recursive = true;
};
# config files
".config/nvim/fnl/packages.fnl".source = "${dotfiles_dir}/.config/nyoom/packages.fnl";
".config/nvim/fnl/macros.fnl".source = "${dotfiles_dir}/.config/nyoom/macros.fnl";
".config/nvim/fnl/config.fnl".source = "${dotfiles_dir}/.config/nyoom/config.fnl";
".config/nvim/fnl/modules.fnl".source = "${dotfiles_dir}/.config/nyoom/modules.fnl";
};
};
Thanks for any help
I would like to suggest an know what do you think about my installation approach.