From ca26099c9f718a1d6eea2040710443b30b2930ae Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Wed, 7 May 2025 14:37:08 +0800 Subject: [PATCH] refactor(flake.lock): add flake-parts as input for other inputs to follow --- flake.lock | 44 ++++++++------------------------------------ flake.nix | 5 +++++ 2 files changed, 13 insertions(+), 36 deletions(-) diff --git a/flake.lock b/flake.lock index daba265..f0479c3 100644 --- a/flake.lock +++ b/flake.lock @@ -138,24 +138,6 @@ } }, "flake-parts_2": { - "inputs": { - "nixpkgs-lib": "nixpkgs-lib_2" - }, - "locked": { - "lastModified": 1743550720, - "narHash": "sha256-hIshGgKZCgWh6AYJpJmRgFdR3WUbkY04o82X05xqQiY=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "c621e8422220273271f52058f618c94e405bb0f5", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "flake-parts", - "type": "github" - } - }, - "flake-parts_3": { "inputs": { "nixpkgs-lib": [ "stylix", @@ -392,7 +374,9 @@ }, "nix-gaming": { "inputs": { - "flake-parts": "flake-parts", + "flake-parts": [ + "flake-parts" + ], "nixpkgs": [ "nixpkgs" ] @@ -477,24 +461,9 @@ "type": "github" } }, - "nixpkgs-lib_2": { - "locked": { - "lastModified": 1743296961, - "narHash": "sha256-b1EdN3cULCqtorQ4QeWgLMrd5ZGOjLSLemfa00heasc=", - "owner": "nix-community", - "repo": "nixpkgs.lib", - "rev": "e4822aea2a6d1cdd36653c134cacfd64c97ff4fa", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "nixpkgs.lib", - "type": "github" - } - }, "nur": { "inputs": { - "flake-parts": "flake-parts_3", + "flake-parts": "flake-parts_2", "nixpkgs": [ "stylix", "nixpkgs" @@ -517,7 +486,9 @@ }, "nvf": { "inputs": { - "flake-parts": "flake-parts_2", + "flake-parts": [ + "flake-parts" + ], "flake-utils": [ "flake-utils" ], @@ -547,6 +518,7 @@ "root": { "inputs": { "disko": "disko", + "flake-parts": "flake-parts", "flake-utils": "flake-utils", "home-manager": "home-manager", "hyprcloser": "hyprcloser", diff --git a/flake.nix b/flake.nix index 225ba66..4689792 100644 --- a/flake.nix +++ b/flake.nix @@ -47,6 +47,9 @@ inputs.systems.follows = "systems"; url = "github:numtide/flake-utils"; }; + flake-parts = { + url = "github:hercules-ci/flake-parts"; + }; home-manager = { inputs.nixpkgs.follows = "nixpkgs"; url = "github:nix-community/home-manager"; @@ -65,6 +68,7 @@ }; nix-gaming = { inputs.nixpkgs.follows = "nixpkgs"; + inputs.flake-parts.follows = "flake-parts"; url = "github:fufexan/nix-gaming"; }; nvf = { @@ -72,6 +76,7 @@ flake-utils.follows = "flake-utils"; nixpkgs.follows = "nixpkgs"; systems.follows = "systems"; + flake-parts.follows = "flake-parts"; }; url = "github:NotAShelf/nvf"; };