summaryrefslogtreecommitdiff
path: root/templates/full/default.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/default.nix
parente727e435f50027c30d3311020c64ead42c146d66 (diff)
templates: init basic & full
Diffstat (limited to 'templates/full/default.nix')
-rw-r--r--templates/full/default.nix14
1 files changed, 14 insertions, 0 deletions
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