diff --git a/flake.lock b/flake.lock index 62baf34a..1196be24 100644 --- a/flake.lock +++ b/flake.lock @@ -95,6 +95,54 @@ "type": "github" } }, + "nix-github-actions": { + "inputs": { + "nixpkgs": [ + "nix-unit", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1688870561, + "narHash": "sha256-4UYkifnPEw1nAzqqPOTL2MvWtm3sNGw1UTYTalkTcGY=", + "owner": "nix-community", + "repo": "nix-github-actions", + "rev": "165b1650b753316aa7f1787f3005a8d2da0f5301", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nix-github-actions", + "type": "github" + } + }, + "nix-unit": { + "inputs": { + "flake-parts": [ + "flake-parts" + ], + "nix-github-actions": "nix-github-actions", + "nixpkgs": [ + "nixpkgs" + ], + "treefmt-nix": [ + "treefmt-nix" + ] + }, + "locked": { + "lastModified": 1690289081, + "narHash": "sha256-PCXQAQt8+i2pkUym9P1JY4JGoeZJLzzxWBhprHDdItM=", + "owner": "adisbladis", + "repo": "nix-unit", + "rev": "a9d6f33e50d4dcd9cfc0c92253340437bbae282b", + "type": "github" + }, + "original": { + "owner": "adisbladis", + "repo": "nix-unit", + "type": "github" + } + }, "nixlib": { "locked": { "lastModified": 1689469483, @@ -205,6 +253,7 @@ "inputs": { "disko": "disko", "flake-parts": "flake-parts", + "nix-unit": "nix-unit", "nixos-generators": "nixos-generators", "nixpkgs": "nixpkgs", "pre-commit-hooks-nix": "pre-commit-hooks-nix", diff --git a/flake.nix b/flake.nix index 8b275868..e509386e 100644 --- a/flake.nix +++ b/flake.nix @@ -12,6 +12,10 @@ treefmt-nix.url = "github:numtide/treefmt-nix"; treefmt-nix.inputs.nixpkgs.follows = "nixpkgs"; pre-commit-hooks-nix.url = "github:cachix/pre-commit-hooks.nix"; + nix-unit.url = "github:adisbladis/nix-unit"; + nix-unit.inputs.flake-parts.follows = "flake-parts"; + nix-unit.inputs.nixpkgs.follows = "nixpkgs"; + nix-unit.inputs.treefmt-nix.follows = "treefmt-nix"; }; outputs = inputs @ { flake-parts, ... }: