System Gen33 @ 2026-08-13-17:05:40 by jonas@harbor

This commit is contained in:
2026-08-13 17:05:53 +02:00
parent 87bf486ca3
commit 4e87a6b569
3 changed files with 7 additions and 3 deletions
+3
View File
@@ -104,6 +104,9 @@
hive.korrosync.enable = true; hive.korrosync.enable = true;
hive.korrosync.localPort = 7416; hive.korrosync.localPort = 7416;
hive.korrosync.instanceFQDN = "korrosync.jroeger.de"; hive.korrosync.instanceFQDN = "korrosync.jroeger.de";
hive.wallabag.enable = true;
hive.wallabag.localPort = 39184;
hive.wallabag.instanceFQDN = "wallabag.jroeger.de";
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions
+1
View File
@@ -23,6 +23,7 @@
self.nixosModules.matrix self.nixosModules.matrix
self.nixosModules.calibre self.nixosModules.calibre
self.nixosModules.korrosync-hive self.nixosModules.korrosync-hive
self.nixosModules.wallabag
]; ];
}; };
} }
+3 -3
View File
@@ -11,7 +11,7 @@
localPort = lib.mkOption { localPort = lib.mkOption {
type = lib.types.int; type = lib.types.int;
example = 8080; example = 8080;
default = 39128; default = 8088;
description = "Specify the local port wallabag server uses."; description = "Specify the local port wallabag server uses.";
}; };
instanceFQDN = lib.mkOption { instanceFQDN = lib.mkOption {
@@ -30,7 +30,7 @@
enableACME = true; enableACME = true;
}; };
# Virtual host for korrosync # Virtual host for wallabag
services.nginx.virtualHosts."${cfg.instanceFQDN}" = { services.nginx.virtualHosts."${cfg.instanceFQDN}" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
@@ -45,7 +45,7 @@
"wallabag-images:/var/www/wallabag/web/assets/images" "wallabag-images:/var/www/wallabag/web/assets/images"
]; ];
environment = { environment = {
"SYMFONY__ENV__DOMAIN_NAME" = "https://${cfg.instanceFQDN}:${toString cfg.localPort}"; "SYMFONY__ENV__DOMAIN_NAME" = "https://${cfg.instanceFQDN}";
}; };
}; };
}; };