diff options
Diffstat (limited to 'templates/full/flake.nix')
| -rw-r--r-- | templates/full/flake.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/full/flake.nix b/templates/full/flake.nix new file mode 100644 index 0000000..c745441 --- /dev/null +++ b/templates/full/flake.nix @@ -0,0 +1,26 @@ +{ + description = ""; + + inputs = { + nixpkgs.url = "nixpkgs/nixos-unstable"; + flake-compat = { + url = "github:edolstra/flake-compat"; + flake = false; + }; + flake-parts = { + url = "github:hercules-ci/flake-parts"; + inputs.nixpkgs-lib.follows = "nixpkgs"; + }; + pre-commit-hooks = { + url = "github:cachix/pre-commit-hooks.nix"; + inputs.nixpkgs.follows = "nixpkgs"; + inputs.nixpkgs-stable.follows = "nixpkgs"; + inputs.flake-compat.follows = "flake-compat"; + }; + }; + + outputs = inputs: + inputs.flake-parts.lib.mkFlake + {inherit inputs;} + {imports = [./nix];}; +} |
