Merge pull request 'add jirafeau' (#39) from develop into master
All checks were successful
Deploy configs / deploy-configs (push) Successful in 20s
All checks were successful
Deploy configs / deploy-configs (push) Successful in 20s
Reviewed-on: #39
This commit is contained in:
commit
ea19380c33
5 changed files with 36 additions and 4 deletions
|
|
@ -21,6 +21,10 @@ rec {
|
||||||
fqdn = "git." + domain;
|
fqdn = "git." + domain;
|
||||||
port = 3456;
|
port = 3456;
|
||||||
};
|
};
|
||||||
|
jirafeau = rec {
|
||||||
|
subdomain = "f";
|
||||||
|
fqdn = subdomain + "." + domain;
|
||||||
|
};
|
||||||
miniflux = {
|
miniflux = {
|
||||||
fqdn = "rss." + domain;
|
fqdn = "rss." + domain;
|
||||||
port = 8085;
|
port = 8085;
|
||||||
|
|
|
||||||
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -2519,11 +2519,11 @@
|
||||||
"stylix": "stylix_3"
|
"stylix": "stylix_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1777741303,
|
"lastModified": 1777750263,
|
||||||
"narHash": "sha256-zSzzDpJdKhzQbShaAJ+J97kllAQ4nttFr4VMoln2LJo=",
|
"narHash": "sha256-3c085GHJBwd/t9bA7V0vGzh7PQDOeGHn3TgtURs2K7k=",
|
||||||
"ref": "release-25.11",
|
"ref": "release-25.11",
|
||||||
"rev": "e801c318a76d147e167ec97342d4d86b302681b8",
|
"rev": "a0a39253f4cea70bf7e22da5e5644df9707dfb95",
|
||||||
"revCount": 35,
|
"revCount": 46,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.sid.ovh/sid/synix.git"
|
"url": "https://git.sid.ovh/sid/synix.git"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@
|
||||||
outputs.nixosModules.tailscale
|
outputs.nixosModules.tailscale
|
||||||
|
|
||||||
./forgejo.nix
|
./forgejo.nix
|
||||||
|
./jirafeau.nix
|
||||||
./miniflux.nix
|
./miniflux.nix
|
||||||
./netdata.nix
|
./netdata.nix
|
||||||
./nginx.nix
|
./nginx.nix
|
||||||
|
|
|
||||||
20
hosts/rx4/services/jirafeau.nix
Normal file
20
hosts/rx4/services/jirafeau.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
{
|
||||||
|
inputs,
|
||||||
|
constants,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [ inputs.synix.nixosModules.jirafeau ];
|
||||||
|
|
||||||
|
services.jirafeau = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.synix.jirafeau;
|
||||||
|
reverseProxy = {
|
||||||
|
enable = true;
|
||||||
|
subdomain = constants.services.jirafeau.subdomain;
|
||||||
|
forceSSL = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -35,6 +35,13 @@ in
|
||||||
address = constants.hosts.rx4.ip;
|
address = constants.hosts.rx4.ip;
|
||||||
port = constants.services.forgejo.port;
|
port = constants.services.forgejo.port;
|
||||||
};
|
};
|
||||||
|
virtualHosts."${constants.services.jirafeau.fqdn}" = {
|
||||||
|
enableACME = ssl;
|
||||||
|
forceSSL = ssl;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://${constants.hosts.rx4.ip}";
|
||||||
|
};
|
||||||
|
};
|
||||||
virtualHosts."${constants.services.miniflux.fqdn}" = mkVirtualHost {
|
virtualHosts."${constants.services.miniflux.fqdn}" = mkVirtualHost {
|
||||||
inherit ssl;
|
inherit ssl;
|
||||||
address = constants.hosts.rx4.ip;
|
address = constants.hosts.rx4.ip;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue