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": { "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": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1610051610, "lastModified": 1610051610,
@ -24,11 +40,11 @@
}, },
"locked": { "locked": {
"dir": "contrib", "dir": "contrib",
"lastModified": 1621700283, "lastModified": 1621641588,
"narHash": "sha256-jU1SPAm9W86RcQ89MASKKA9K8wvVV+pkxX9X0RH0I+w=", "narHash": "sha256-Z6k6r8sFPZaDX/2XuscicBSkkAaopfvFQ6+/eTRKjAk=",
"owner": "neovim", "owner": "neovim",
"repo": "neovim", "repo": "neovim",
"rev": "5b2be75256b638275900be0b36ee02ef1730f999", "rev": "6dd04ed5f6c0b68eed38aeb2a3f930d8d6353678",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -38,6 +54,28 @@
"type": "github" "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": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1621552131, "lastModified": 1621552131,
@ -56,7 +94,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"neovim-flake": "neovim-flake", "neovim-overlay": "neovim-overlay",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
} }
} }

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