removed HBPS Nextcloud from modules
This commit is contained in:
parent
bb4cc83c6d
commit
b9cc954ea2
@ -1,47 +0,0 @@
|
||||
{ lib, fetchFromGitHub, nixosTests, rustPlatform }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "notify_push";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nextcloud";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Y71o+ARi/YB2BRDfEyORbrA9HPvsUlWdh5UjM8hzmcA=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-Mk+0LKP55Um5YiCx2O49rUZPwaXtKFnWtRC+WPGBadE=";
|
||||
|
||||
passthru = rec {
|
||||
test_client = rustPlatform.buildRustPackage {
|
||||
pname = "${pname}-test_client";
|
||||
inherit src version;
|
||||
|
||||
buildAndTestSubdir = "test_client";
|
||||
|
||||
cargoHash = "sha256-KybnPzCM9mLF55s5eZ3qr5GRcaaYFpEdNklWEo/72Ts=";
|
||||
|
||||
meta = meta // {
|
||||
mainProgram = "test_client";
|
||||
};
|
||||
};
|
||||
tests =
|
||||
lib.filterAttrs
|
||||
(key: lib.const (lib.hasPrefix "with-postgresql-and-redis" key))
|
||||
nixosTests.nextcloud
|
||||
// {
|
||||
inherit test_client;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/nextcloud/notify_push/releases/tag/v${version}";
|
||||
description = "Update notifications for nextcloud clients";
|
||||
mainProgram = "notify_push";
|
||||
homepage = "https://github.com/nextcloud/notify_push";
|
||||
license = licenses.agpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = teams.helsinki-systems.members;
|
||||
};
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
{config, pkgs, lib, ...}:
|
||||
|
||||
let
|
||||
|
||||
personalization = import ./personalization.nix;
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
|
||||
systemd.services.nextcloud_notify_push_hpbs = {
|
||||
|
||||
unitConfig = {
|
||||
Description = "Push server (High Preformance Back End) for Nextcloud Clients";
|
||||
Requires = "network-online.target";
|
||||
};
|
||||
|
||||
serviceConfig = {
|
||||
Enviornment = "PORT=7867";
|
||||
ExecStart = "/run/current-system/sw/bin/notify_push /var/lib/www/nextcloud/config/config.php";
|
||||
RemainAfterExit = "yes";
|
||||
Type = "notify";
|
||||
User = "caddy";
|
||||
Group = "php";
|
||||
};
|
||||
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
};
|
||||
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user