Skip to content
Discussion options

You must be logged in to vote

python3 is now available without any additional steps if you set it to programs.neovim.nvimdots.enable.

Try follow step.

  1. Create nvimdots.nix
{
  programs.neovim.nvimdots = {
    enable = true;
    setBuildEnv = true;  # Only needed for NixOS
    withBuildTools = true; # Only needed for NixOS
  };
}
  1. Replace home-manager.user.<user. to follow code.
{
  home-manager = {
    useGlobalPkgs = true;
    useUserPackages = true;
    sharedModules = [
      inputs.nvimdots.homeManagerModules.nvimdots
    ];
    users."<user>" = {
      imports = [ ./nvimdots.nix ];
    };
  };
}
  1. Run nixos-rebuild

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@TonyWu20
Comment options

@TonyWu20
Comment options

@misumisumi
Comment options

Answer selected by TonyWu20
@TonyWu20
Comment options

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