From 92438d35f66c162cab31c3a2e9a0b90d9ef1e103 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Wed, 8 Mar 2023 17:41:00 +0000 Subject: [PATCH] flake: add 'flake-parts' --- flake.lock | 22 ++++++++++++++++++++++ flake.nix | 11 +++++++++++ 2 files changed, 33 insertions(+) diff --git a/flake.lock b/flake.lock index caccc7d..e14f4e4 100644 --- a/flake.lock +++ b/flake.lock @@ -60,6 +60,27 @@ "type": "github" } }, + "flake-parts": { + "inputs": { + "nixpkgs-lib": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1677714448, + "narHash": "sha256-Hq8qLs8xFu28aDjytfxjdC96bZ6pds21Yy09mSC156I=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "dc531e3a9ce757041e1afaff8ee932725ca60002", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "ref": "main", + "repo": "flake-parts", + "type": "github" + } + }, "futils": { "locked": { "lastModified": 1678901627, @@ -185,6 +206,7 @@ "root": { "inputs": { "agenix": "agenix", + "flake-parts": "flake-parts", "futils": "futils", "home-manager": "home-manager", "nixpkgs": "nixpkgs", diff --git a/flake.nix b/flake.nix index 63ade9a..058ac27 100644 --- a/flake.nix +++ b/flake.nix @@ -11,6 +11,16 @@ }; }; + flake-parts = { + type = "github"; + owner = "hercules-ci"; + repo = "flake-parts"; + ref = "main"; + inputs = { + nixpkgs-lib.follows = "nixpkgs"; + }; + }; + futils = { type = "github"; owner = "numtide"; @@ -60,6 +70,7 @@ inputs @ { self , agenix + , flake-parts , futils , home-manager , nixpkgs