parent
eeec1e7c86
commit
9d31fc6f2f
5 changed files with 46 additions and 0 deletions
packages
scopedPackages
|
@ -7,6 +7,7 @@ This directory contains every derivations for packages exposed by this flake.
|
||||||
| Name | Description | Homepage |
|
| Name | Description | Homepage |
|
||||||
| ---- | ----------- | -------- |
|
| ---- | ----------- | -------- |
|
||||||
| `coloryou` | Get Material You colors from an image. | https://git.nelim.org/matt1432/nixos-configs/src/branch/master/packages/coloryou |
|
| `coloryou` | Get Material You colors from an image. | https://git.nelim.org/matt1432/nixos-configs/src/branch/master/packages/coloryou |
|
||||||
|
| `forgejo-guardian` | `forgejo-guardian` is a simple guardian for your Forgejo instance, it will ban users based on certain regular expressions (regex) and alert the admins about them. | https://git.4rs.nl/awiteb/forgejo-guardian |
|
||||||
| `gpu-screen-recorder` | Screen recorder that has minimal impact on system performance by recording a window using the GPU only. | https://git.dec05eba.com/gpu-screen-recorder/about |
|
| `gpu-screen-recorder` | Screen recorder that has minimal impact on system performance by recording a window using the GPU only. | https://git.dec05eba.com/gpu-screen-recorder/about |
|
||||||
| `gsr-kms-server` | Small program giving safe KMS access to gpu-screen-recorder when recording a monitor. This is the only part of gpu-screen-recorder that could require root permissions. | https://git.dec05eba.com/gpu-screen-recorder/about |
|
| `gsr-kms-server` | Small program giving safe KMS access to gpu-screen-recorder when recording a monitor. This is the only part of gpu-screen-recorder that could require root permissions. | https://git.dec05eba.com/gpu-screen-recorder/about |
|
||||||
| `homepage` | Highly customisable dashboard with Docker and service API integrations. | https://gethomepage.dev |
|
| `homepage` | Highly customisable dashboard with Docker and service API integrations. | https://gethomepage.dev |
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
selfPackages = {
|
selfPackages = {
|
||||||
coloryou = final.python3Packages.callPackage ./coloryou {};
|
coloryou = final.python3Packages.callPackage ./coloryou {};
|
||||||
|
|
||||||
|
forgejo-guardian = final.callPackage ./forgejo-guardian {};
|
||||||
|
|
||||||
gpu-screen-recorder = final.callPackage ./gpu-screen-recorder/gpu-screen-recorder.nix {
|
gpu-screen-recorder = final.callPackage ./gpu-screen-recorder/gpu-screen-recorder.nix {
|
||||||
inherit (inputs) gpu-screen-recorder-src;
|
inherit (inputs) gpu-screen-recorder-src;
|
||||||
};
|
};
|
||||||
|
|
33
packages/forgejo-guardian/default.nix
Normal file
33
packages/forgejo-guardian/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{
|
||||||
|
# nix build inputs
|
||||||
|
lib,
|
||||||
|
fetchFromGitHub,
|
||||||
|
rustPlatform,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (builtins) fromTOML readFile;
|
||||||
|
in
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "forgejo-guardian";
|
||||||
|
version = (fromTOML (readFile "${src}/Cargo.toml")).package.version;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "TheAwiteb";
|
||||||
|
repo = pname;
|
||||||
|
rev = "d7c6748b9e45dfa30a5aa076a2c0d0e8bfceea6f";
|
||||||
|
sha256 = "sha256-i5vSO4SsPUaFJJHuKqG3IdRTTtYm2tUnvNL4+VLn34g=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoLock.lockFile = "${src}/Cargo.lock";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
mainProgram = pname;
|
||||||
|
license = with lib.licenses; [agpl3Only];
|
||||||
|
homepage = "https://git.4rs.nl/awiteb/forgejo-guardian";
|
||||||
|
description = ''
|
||||||
|
`forgejo-guardian` is a simple guardian for your Forgejo instance,
|
||||||
|
it will ban users based on certain regular expressions (regex) and
|
||||||
|
alert the admins about them.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
|
@ -61,6 +61,7 @@ Lovelace components I use for Home-Assistant that aren't in nixpkgs.
|
||||||
| `big-slider-card` | A card with a big slider for light entities in Home Assistant. | https://github.com/nicufarmache/lovelace-big-slider-card |
|
| `big-slider-card` | A card with a big slider for light entities in Home Assistant. | https://github.com/nicufarmache/lovelace-big-slider-card |
|
||||||
| `custom-sidebar` | Custom HACS plugin that allows you to personalise the Home Assistant's sidebar per user or device basis. | https://github.com/elchininet/custom-sidebar |
|
| `custom-sidebar` | Custom HACS plugin that allows you to personalise the Home Assistant's sidebar per user or device basis. | https://github.com/elchininet/custom-sidebar |
|
||||||
| `material-rounded-theme` | Material Design 3 Colors and Components in Home Assistant. | https://github.com/Nerwyn/material-rounded-theme |
|
| `material-rounded-theme` | Material Design 3 Colors and Components in Home Assistant. | https://github.com/Nerwyn/material-rounded-theme |
|
||||||
|
| `material-you-utilities` | Material You color theme generation and Home Assistant component modification. | https://github.com/Nerwyn/ha-material-you-utilities |
|
||||||
|
|
||||||
### mpvScripts
|
### mpvScripts
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
lib,
|
||||||
buildNpmPackage,
|
buildNpmPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
...
|
...
|
||||||
|
@ -27,4 +28,12 @@ in
|
||||||
'';
|
'';
|
||||||
|
|
||||||
npmDepsHash = "sha256-5cc610/BhX19k2iREYVoE3c43yDmRJsE0Nvrq/gAVjY=";
|
npmDepsHash = "sha256-5cc610/BhX19k2iREYVoE3c43yDmRJsE0Nvrq/gAVjY=";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
homepage = "https://github.com/Nerwyn/ha-material-you-utilities";
|
||||||
|
description = ''
|
||||||
|
Material You color theme generation and Home Assistant component modification.
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue