mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 12:51:34 +01:00
privatebin: Use package from stable
This commit is contained in:
parent
406b83a5f6
commit
9e23f7b37d
1 changed files with 1 additions and 12 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue