privatebin: Use package from stable

This commit is contained in:
SebastianStork 2025-11-26 20:12:43 +01:00
parent 406b83a5f6
commit 9e23f7b37d
Signed by: SebastianStork
SSH key fingerprint: SHA256:iEM011ogNMG1q8+U500adGu/9rpPuZ2KnFtbdLeqTiI

View file

@ -1,9 +1,4 @@
{
config,
pkgs-unstable,
lib,
...
}:
{ config, lib, ... }:
let
cfg = config.custom.services.privatebin;
in
@ -25,11 +20,6 @@ in
};
config = lib.mkIf cfg.enable {
assertions = lib.singleton {
assertion = lib.versionOlder lib.version "25.11";
message = "TODO: Use privatebin package from stable nixpkgs";
};
meta = {
domains.local = [ cfg.domain ];
ports.tcp = [ cfg.port ];
@ -38,7 +28,6 @@ in
services = {
privatebin = {
enable = true;
package = pkgs-unstable.privatebin; # Unstable to get version 2.0
enableNginx = true;
virtualHost = "privatebin";
settings.main = {