stirling-pdf added

This commit is contained in:
2025-08-06 14:09:13 +03:00
parent 8b48a60b6d
commit dbe21be8d9
3 changed files with 30 additions and 1 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
./users.nix
./options.nix
./temp.nix
#(import ./options.nix { inherit lib inputs; }) # Options
(lib.mkIf (config.xlib.device.type == "server") (import ./server { inherit inputs; }))
home-manager.nixosModules.home-manager # home-manager module
nix-index-database.nixosModules.nix-index # nix-index module
+8
View File
@@ -0,0 +1,8 @@
{
...
}:
{
imports = [
./stirling-pdf.nix
];
}
+21
View File
@@ -0,0 +1,21 @@
{
inputs,
config,
lib,
pkgs,
...
}:
let
fix = import inputs.nixpkgs-last-unstable {
system = "x86_64-linux";
config.allowUnfree = true;
}; # temp
in
{
services.stirling-pdf = {
enable = true;
environment = {
SERVER_PORT = 6060;
};
};
}