diff --git a/etc/nixos/derivations/dist.tar.gz b/etc/nixos/derivations/dist.tar.gz new file mode 100644 index 0000000..3af5e0f --- /dev/null +++ b/etc/nixos/derivations/dist.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1abd2b09bb63554cd6d49d774774cbfb4a933827ceeba373f04bdfbf992a7e5f +size 11858678 diff --git a/etc/nixos/derivations/tlaternet b/etc/nixos/derivations/tlaternet index bb19002..114a878 160000 --- a/etc/nixos/derivations/tlaternet +++ b/etc/nixos/derivations/tlaternet @@ -1 +1 @@ -Subproject commit bb19002f511e7ffe54fc2375562e32ed9526c740 +Subproject commit 114a87885e1b3852c4cf6fe9854c86045770b3e4 diff --git a/etc/nixos/derivations/tlaternet-templates b/etc/nixos/derivations/tlaternet-templates deleted file mode 160000 index 1160d96..0000000 --- a/etc/nixos/derivations/tlaternet-templates +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 1160d96b064531f65290e2d665c7c8d05fc3d29a diff --git a/etc/nixos/derivations/tlaternet-templates.nix b/etc/nixos/derivations/tlaternet-templates.nix new file mode 100644 index 0000000..dbcf050 --- /dev/null +++ b/etc/nixos/derivations/tlaternet-templates.nix @@ -0,0 +1,15 @@ +{ pkgs ? import {} }: + +with pkgs; + +# TODO: Once https://github.com/svanderburg/node2nix/issues/184 is +# fixed, use a proper nixos package instead of a tarball. +stdenv.mkDerivation { + pname = "tlaternet-templates"; + version = "1.0"; + src = ./dist.tar.gz; + installPhase = '' + mkdir -p $out/srv/ + mv browser $out/srv/web + ''; +}