From 423914276f9623786e1d33e486b26a1406115067 Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 17 May 2023 02:54:40 -0400 Subject: templates: init basic & full --- templates/full/flake.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 templates/full/flake.nix (limited to 'templates/full/flake.nix') 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];}; +} -- cgit v1.2.3