mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-08-21 10:45:49 +02:00
@@ -16,7 +16,7 @@
|
|||||||
../../server-modules/adguardhome.nix
|
../../server-modules/adguardhome.nix
|
||||||
../../server-modules/arr.nix
|
../../server-modules/arr.nix
|
||||||
../../server-modules/blog.nix
|
../../server-modules/blog.nix
|
||||||
../../server-modules/stirling-pdf.nix
|
../../server-modules/bentopdf.nix
|
||||||
../../server-modules/cyberchef.nix
|
../../server-modules/cyberchef.nix
|
||||||
../../server-modules/mazanoke.nix
|
../../server-modules/mazanoke.nix
|
||||||
../../server-modules/kernel-hardening.nix
|
../../server-modules/kernel-hardening.nix
|
||||||
|
|||||||
@@ -6,7 +6,12 @@
|
|||||||
}:
|
}:
|
||||||
nixpkgs.lib.nixosSystem {
|
nixpkgs.lib.nixosSystem {
|
||||||
modules = [
|
modules = [
|
||||||
{_module.args = {inherit inputs pkgs-unstable;};}
|
{
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
inputs.nur.overlays.default
|
||||||
|
];
|
||||||
|
_module.args = {inherit inputs pkgs-unstable;};
|
||||||
|
}
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
inputs.stylix.nixosModules.stylix
|
inputs.stylix.nixosModules.stylix
|
||||||
inputs.sops-nix.nixosModules.sops
|
inputs.sops-nix.nixosModules.sops
|
||||||
|
|||||||
@@ -7,13 +7,22 @@
|
|||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
(mkContainer {
|
(mkContainer {
|
||||||
name = "stirling-pdf";
|
name = "bentopdf";
|
||||||
hostIp = "10.233.9.1";
|
hostIp = "10.233.9.1";
|
||||||
containerIp = "10.233.9.2";
|
containerIp = "10.233.9.2";
|
||||||
nixosConfig = {...}: {
|
nixosConfig = {...}: {
|
||||||
services.stirling-pdf = {
|
services.bentopdf = {
|
||||||
enable = true;
|
enable = true;
|
||||||
environment."SERVER_PORT" = "8080";
|
domain = "bentopdf";
|
||||||
|
nginx = {
|
||||||
|
enable = true;
|
||||||
|
virtualHost.listen = [
|
||||||
|
{
|
||||||
|
addr = "0.0.0.0";
|
||||||
|
port = 8080;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
networking.firewall.allowedTCPPorts = [8080];
|
networking.firewall.allowedTCPPorts = [8080];
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
@@ -74,9 +74,9 @@
|
|||||||
icon = "sh:mazanoke";
|
icon = "sh:mazanoke";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
title = "Stirling PDF";
|
title = "BentoPDF";
|
||||||
url = "https://pdf.${domain}";
|
url = "https://pdf.${domain}";
|
||||||
icon = "sh:stirling-pdf";
|
icon = "sh:bentopdf";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
title = "Default-creds";
|
title = "Default-creds";
|
||||||
|
|||||||
Reference in New Issue
Block a user