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/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 templates/full/default.nix (limited to 'templates/full/default.nix') diff --git a/templates/full/default.nix b/templates/full/default.nix new file mode 100644 index 0000000..c7d0c26 --- /dev/null +++ b/templates/full/default.nix @@ -0,0 +1,14 @@ +( + import + ( + let + lock = builtins.fromJSON (builtins.readFile ./flake.lock); + in + fetchTarball { + url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz"; + sha256 = lock.nodes.flake-compat.locked.narHash; + } + ) + {src = ./.;} +) +.defaultNix -- cgit v1.2.3