feat: nixos setup
This commit is contained in:
parent
a3461caf81
commit
dcaeca9634
4 changed files with 222 additions and 139 deletions
23
prodsody/default.nix
Normal file
23
prodsody/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
pkgs ? import <nixpkgs> { },
|
||||
}:
|
||||
|
||||
pkgs.stdenv.mkDerivation {
|
||||
pname = "jitsi-room-prosody";
|
||||
version = "1.0.0";
|
||||
|
||||
src = pkgs.lib.cleanSource ./.;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share
|
||||
mv *.lua $out/share/
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
name = "Jitsi Rooms Prosody Plugin";
|
||||
description = "Prosody configuration for Jitsi Rooms";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue