System Gen33 @ 2026-08-13-17:05:40 by jonas@harbor
This commit is contained in:
@@ -104,6 +104,9 @@
|
||||
hive.korrosync.enable = true;
|
||||
hive.korrosync.localPort = 7416;
|
||||
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
|
||||
# settings for stateful data, like file locations and database versions
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
self.nixosModules.matrix
|
||||
self.nixosModules.calibre
|
||||
self.nixosModules.korrosync-hive
|
||||
self.nixosModules.wallabag
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
localPort = lib.mkOption {
|
||||
type = lib.types.int;
|
||||
example = 8080;
|
||||
default = 39128;
|
||||
default = 8088;
|
||||
description = "Specify the local port wallabag server uses.";
|
||||
};
|
||||
instanceFQDN = lib.mkOption {
|
||||
@@ -30,7 +30,7 @@
|
||||
enableACME = true;
|
||||
};
|
||||
|
||||
# Virtual host for korrosync
|
||||
# Virtual host for wallabag
|
||||
services.nginx.virtualHosts."${cfg.instanceFQDN}" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
@@ -45,7 +45,7 @@
|
||||
"wallabag-images:/var/www/wallabag/web/assets/images"
|
||||
];
|
||||
environment = {
|
||||
"SYMFONY__ENV__DOMAIN_NAME" = "https://${cfg.instanceFQDN}:${toString cfg.localPort}";
|
||||
"SYMFONY__ENV__DOMAIN_NAME" = "https://${cfg.instanceFQDN}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user