ext
This commit is contained in:
29
packages/system/gnome-nebula-vpn/default.nix
Normal file
29
packages/system/gnome-nebula-vpn/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
stdenvNoCC,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "gnome-nebula-vpn";
|
||||
version = "1.0.0";
|
||||
|
||||
src = ./extension;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
uuid="nebula-vpn-status@mjallen"
|
||||
dest="$out/share/gnome-shell/extensions/$uuid"
|
||||
mkdir -p "$dest"
|
||||
cp -r . "$dest/"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "GNOME Shell extension showing Nebula VPN status with interface info and a toggle";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user