Comments (1)
There you go just replace SYSTEM and USER with your actual system and username. If you don't know the exact system use the nix repl
and then type builtins.currentSystem
.
It is setup to track the nixpkgs-unstable channel you can modify that also if you want. I would recommend to use home-manager then just for the overlays you can still install other packages the manual way.
{
description = "Home Manager Config";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
# Overlay inputs
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
};
outputs = inputs @ { nixpkgs, home-manager, ... }:
let
# System get in $nix repl: builtins.currentSystem
system = "aarch64-darwin"; # e.g. x86_64-linux
# Overlays
neovim = inputs.neovim-nightly-overlay.overlay;
# Pkgs config
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
overlays = [ neovim ];
};
in
{
homeConfigurations."USER" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [ ./home.nix ];
};
};
}
If you just want to install neovim-nightly use something like this:
{
description = "Neovim Nightly";
inputs = {
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
};
outputs = inputs @ { self, nixpkgs-unstable, ... }:
let
system = "x86_64-linux";
# Neovim nightly overlay
neovim = inputs.neovim-nightly-overlay.overlay;
# All the pkgs options
pkgs = import nixpkgs-unstable {
overlays = [ neovim ];
inherit system;
};
in
{
devShells.${system}.default = pkgs.mkShell {
packages = with pkgs; [
neovim-nightly
];
};
};
}
from neovim-nightly-overlay.
Related Issues (20)
- Hitting /nix/store/jnp9n2x9cdvl47da3656illrd3p2qvb5-system_rplugin_manifest.patch failure again HOT 2
- nix-env -iA pkgs.neovim-nightly doesn't work? HOT 2
- vim-unwrapped lsp keyboard interrupt error after specific commit HOT 1
- Patch error again HOT 3
- nlua0 & new lpeg build dependency issue HOT 3
- Trying to de-duplicate `nixpkgs` HOT 1
- Cache for the rest of us? HOT 6
- Build fails HOT 12
- ISSUE: README.md has deprecated configuration argument HOT 4
- only works built separately from a config?
- error: attribute 'src' missing from 'bash-grammar-neovim-3b29b39' HOT 7
- Error: attribute 'overlay' missing HOT 6
- Fails to build on non NixOS non flake HOT 1
- attribute 'overlay' missing HOT 7
- [NOTICE] Upstream breaking changes HOT 1
- Nightly CI not running HOT 14
- Constant full CPU core load on x86-64 darwin HOT 6
- Investigate the root cause of #538
- Can't use nightly overlay with NixOS 24.05 HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neovim-nightly-overlay.