use correct neovim overlay

This commit is contained in:
Gabriel Ebner 2021-05-22 19:42:43 +02:00
parent 98daa4eec2
commit 116f447e39
2 changed files with 46 additions and 8 deletions

@ -1,5 +1,21 @@
{
"nodes": {
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1606424373,
"narHash": "sha256-oq8d4//CJOrVj+EcOaSXvMebvuTkmBJuT5tzlfewUnQ=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "99f1c2157fba4bfe6211a321fd0ee43199025dbf",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1610051610,
@ -24,11 +40,11 @@
},
"locked": {
"dir": "contrib",
"lastModified": 1621700283,
"narHash": "sha256-jU1SPAm9W86RcQ89MASKKA9K8wvVV+pkxX9X0RH0I+w=",
"lastModified": 1621641588,
"narHash": "sha256-Z6k6r8sFPZaDX/2XuscicBSkkAaopfvFQ6+/eTRKjAk=",
"owner": "neovim",
"repo": "neovim",
"rev": "5b2be75256b638275900be0b36ee02ef1730f999",
"rev": "6dd04ed5f6c0b68eed38aeb2a3f930d8d6353678",
"type": "github"
},
"original": {
@ -38,6 +54,28 @@
"type": "github"
}
},
"neovim-overlay": {
"inputs": {
"flake-compat": "flake-compat",
"neovim-flake": "neovim-flake",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1621671270,
"narHash": "sha256-/oPAeAKbFOKrROLJzytGzLJUUedGsLH3zGrb93OAt2M=",
"owner": "nix-community",
"repo": "neovim-nightly-overlay",
"rev": "35d672734c4128b1e5f6c924a4b62d66fa1f821b",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "neovim-nightly-overlay",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1621552131,
@ -56,7 +94,7 @@
},
"root": {
"inputs": {
"neovim-flake": "neovim-flake",
"neovim-overlay": "neovim-overlay",
"nixpkgs": "nixpkgs"
}
}

@ -2,13 +2,13 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
neovim-flake.url = "github:neovim/neovim?dir=contrib";
neovim-flake.inputs.nixpkgs.follows = "nixpkgs";
neovim-overlay.url = "github:nix-community/neovim-nightly-overlay";
neovim-overlay.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, neovim-flake, ... }: {
outputs = { self, nixpkgs, neovim-overlay, ... }: {
nixosConfigurations = let
neovimOverlay = { pkgs, ... }: { nixpkgs.overlays = [ neovim-flake.overlay ]; };
neovimOverlay = { pkgs, ... }: { nixpkgs.overlays = [ neovim-overlay.overlay ]; };
in {
petalius = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";