treewide. complete refactor

Lots of cleaning up, I cannot be arsed to commit everything one-by-one
This commit is contained in:
raf 2024-07-22 00:19:39 +03:00
commit 5b7812600d
Signed by: NotAShelf
GPG key ID: AF26552424E53993
24 changed files with 631 additions and 464 deletions

View file

@ -0,0 +1,26 @@
{
stdenv,
fetchzip,
lib,
}: let
pname = "headscale-ui";
version = "0-unstable-2024-02-24";
in
stdenv.mkDerivation {
inherit pname version;
src = fetchzip {
url = "https://github.com/gurucomputing/headscale-ui/releases/download/2024.02.24-beta-1/headscale-ui.zip";
sha256 = "sha256-6SUgtSTFvJWNdsWz6AiOfUM9p33+8EhDwyqHX7O2+NQ=";
};
installPhase = ''
mkdir -p $out/share/
cp -r web/ $out/share/
'';
meta = {
description = "A web frontend for the headscale Tailscale-compatible coordination server";
homepage = "https://github.com/gurucomputing/headscale-ui";
license = [lib.licenses.bsd3];
};
}