Update the templates
This commit is contained in:
parent
a57565678a
commit
dd1335cb36
BIN
etc/nixos/derivations/dist.tar.gz
(Stored with Git LFS)
Normal file
BIN
etc/nixos/derivations/dist.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
Subproject commit 1160d96b064531f65290e2d665c7c8d05fc3d29a
|
|
15
etc/nixos/derivations/tlaternet-templates.nix
Normal file
15
etc/nixos/derivations/tlaternet-templates.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{ pkgs ? import <nixpkgs> {} }:
|
||||||
|
|
||||||
|
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
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in a new issue