From 84ad93590b44cb6f18ed8e8117865f51fb70d3b0 Mon Sep 17 00:00:00 2001 From: Gabriel Volpe Date: Mon, 15 Apr 2024 09:33:41 +0200 Subject: [PATCH] add flake schemas support --- flake.lock | 16 ++++++++++++++++ flake.nix | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index 51491b8..1cbc322 100644 --- a/flake.lock +++ b/flake.lock @@ -252,6 +252,21 @@ "type": "github" } }, + "flake-schemas": { + "locked": { + "lastModified": 1713165510, + "narHash": "sha256-pR0sT1MGGTi1+u74gssJcq83TpUfcJbbsP69qhFg1O4=", + "owner": "gvolpe", + "repo": "flake-schemas", + "rev": "e72d8de98fab07bd852204141d2e8b731e3f2039", + "type": "github" + }, + "original": { + "owner": "gvolpe", + "repo": "flake-schemas", + "type": "github" + } + }, "flake-utils": { "inputs": { "systems": "systems" @@ -1096,6 +1111,7 @@ "crates-nvim": "crates-nvim", "dial-nvim": "dial-nvim", "diffview": "diffview", + "flake-schemas": "flake-schemas", "flake-utils": "flake-utils", "gitsigns-nvim": "gitsigns-nvim", "glow-nvim": "glow-nvim", diff --git a/flake.nix b/flake.nix index 3ee6a39..aac164d 100644 --- a/flake.nix +++ b/flake.nix @@ -2,8 +2,8 @@ description = "Neovim Flake by Gabriel Volpe"; inputs = { - #nixpkgs.url = git+file:///home/gvolpe/workspace/nixpkgs; nixpkgs.url = github:nixos/nixpkgs/nixos-unstable; + flake-schemas.url = github:gvolpe/flake-schemas; flake-utils.url = github:numtide/flake-utils; neovim-nightly-overlay = { @@ -368,6 +368,7 @@ }; outputs = inputs @ { nixpkgs, flake-utils, ... }: + { inherit (inputs.flake-schemas) schemas; } // flake-utils.lib.eachDefaultSystem (system: let plugins =