This commit is contained in:
2025-08-06 23:11:59 +03:00
parent 6b1bc2ab85
commit 0b92e733aa
6 changed files with 45 additions and 11 deletions
-8
View File
@@ -1,8 +0,0 @@
{
config,
lib,
...
}:
{
imports = [ ./stirling-pdf.nix ];
}
+11
View File
@@ -0,0 +1,11 @@
{
config,
...
}:
{
services.mealie = {
enable = false;
listenAddress = "0.0.0.0";
port = 9000;
};
}
+13
View File
@@ -0,0 +1,13 @@
{
config,
...
}:
{
services.miniflux = {
enable = false;
config = {
CLEANUP_FREQUENCY = 48;
LISTEN_ADDR = "localhost:6061";
};
};
}
-26
View File
@@ -1,26 +0,0 @@
{
config,
lib,
pkgs,
...
}:
# let
# customPackage = pkgs.stirling-pdf.overrideAttrs (oldAttrs: {
# src = pkgs.fetchFromGitHub {
# owner = "Stirling-Tools";
# repo = "Stirling-PDF";
# rev = "v1.1.1";
# sha256 = "0sphh65fdccnajdby9idy5w4zhcnxzzppv2d7zdz203d0lqs6hky";
# };
# version = "1.1.1";
# });
# in
lib.mkIf (config.xlib.device.type == "server") {
services.stirling-pdf = {
enable = true;
#package = customPackage;
environment = {
SERVER_PORT = 6060;
};
};
}