From 82fb0312cc119e2e26a1074b928f37b023757329 Mon Sep 17 00:00:00 2001 From: 514fpv Date: Thu, 28 Mar 2024 08:37:04 +0800 Subject: [PATCH] refactor(flake): compact input lines --- flake.nix | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/flake.nix b/flake.nix index 37bfbfbf..14cf472b 100644 --- a/flake.nix +++ b/flake.nix @@ -3,24 +3,14 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; - flake-utils.url = "github:numtide/flake-utils"; - flake-parts = { - url = "github:hercules-ci/flake-parts"; - inputs.nixpkgs-lib.follows = "nixpkgs"; - }; - + flake-parts.url = "github:hercules-ci/flake-parts"; + flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs"; impermanence.url = "github:nix-community/impermanence/master"; - - home-manager = { - url = "github:nix-community/home-manager"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - - lanzaboote = { - url = "github:nix-community/lanzaboote/v0.3.0"; - inputs.nixpkgs.follows = "nixpkgs"; - }; + home-manager.url = "github:nix-community/home-manager"; + home-manager.inputs.nixpkgs.follows = "nixpkgs"; + lanzaboote.url = "github:nix-community/lanzaboote/v0.3.0"; + lanzaboote.inputs.nixpkgs.follows = "nixpkgs"; }; outputs = inputs: