tyo0: move redlib to sin0

This commit is contained in:
Guanran Wang 2024-09-22 04:35:35 +08:00
parent dbf012cdc2
commit 2721eaeecf
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
6 changed files with 28 additions and 3 deletions

View file

@ -17,7 +17,6 @@
./services/murmur.nix
./services/ntfy.nix
./services/prometheus.nix
./services/redlib.nix
./services/vaultwarden.nix
./services/wastebin.nix

View file

@ -2,7 +2,6 @@
lib.ports = {
keycloak = 8010;
miniflux = 8020;
redlib = 8030;
vaultwarden = 8040;
wastebin = 8050;

View file

@ -0,0 +1,16 @@
{ lib, ... }:
{
nixpkgs.config = {
allowNonSource = false;
allowNonSourcePredicate =
pkg:
lib.elem (lib.getName pkg) [
];
allowUnfree = false;
allowUnfreePredicate = pkg: lib.elem (lib.getName pkg) [ ];
permittedInsecurePackages = [
];
};
}

View file

@ -1,6 +1,12 @@
{ ... }:
{
imports = [ ../../../nixos/profiles/sing-box-server ];
imports = [
./ports.nix
./services/redlib.nix
../../../nixos/profiles/sing-box-server
];
system.stateVersion = "24.05";

View file

@ -0,0 +1,5 @@
{
lib.ports = {
redlib = 8010;
};
}