summaryrefslogtreecommitdiff
path: root/templates/full/flake.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-05-17 02:54:40 -0400
committerseth <[email protected]>2023-05-17 02:54:40 -0400
commit423914276f9623786e1d33e486b26a1406115067 (patch)
tree0e4b9453d7d03343168ed0e1d3a6e380caf3e124 /templates/full/flake.nix
parente727e435f50027c30d3311020c64ead42c146d66 (diff)
templates: init basic & full
Diffstat (limited to 'templates/full/flake.nix')
-rw-r--r--templates/full/flake.nix26
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];};
+}