mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-26 00:18:28 +02:00
remove crowdsec and add tpm key
This commit is contained in:
parent
74a4348d1d
commit
970ddcdacb
13 changed files with 23 additions and 123 deletions
|
@ -1,22 +0,0 @@
|
|||
From be0cc576bedade783a26b58b6577ce9903784251 Mon Sep 17 00:00:00 2001
|
||||
From: Rouven Seifert <rouven@rfive.de>
|
||||
Date: Thu, 20 Jul 2023 17:15:58 +0200
|
||||
Subject: [PATCH] remove natend go.mod for nix builds
|
||||
|
||||
---
|
||||
koneu/natend/go.mod | 3 ---
|
||||
1 file changed, 3 deletions(-)
|
||||
delete mode 100644 koneu/natend/go.mod
|
||||
|
||||
diff --git a/koneu/natend/go.mod b/koneu/natend/go.mod
|
||||
deleted file mode 100644
|
||||
index 92b93b4..0000000
|
||||
--- a/koneu/natend/go.mod
|
||||
+++ /dev/null
|
||||
@@ -1,3 +0,0 @@
|
||||
-module natend
|
||||
-
|
||||
-go 1.17
|
||||
--
|
||||
2.41.0
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, playerctl }:
|
||||
buildGoModule rec {
|
||||
pname = "crowdsec-firewall-bouncer";
|
||||
version = "0.0.27";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "crowdsecurity";
|
||||
repo = "cs-firewall-bouncer";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-zrYs/9hH+sGG1RMFWMeTm1yIDPElGBr7rVGeWR3ff34=";
|
||||
};
|
||||
|
||||
patches = [ ./0001-remove-natend-go-mod-for-nix-builds.patch ];
|
||||
|
||||
vendorSha256 = "sha256-7wIdwTv4jMpFQkl3tKeH3MWxJ/EbiFg5FtGSAvNNpos=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Crowdsec bouncer written in golang for firewalls";
|
||||
homepage = "https://github.com/crowdsecurity/cs-firewall-bouncer";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ therealr5 ];
|
||||
mainProgram = "cs-firewall-bouncer";
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue