mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 10:09:04 +02:00
chore(gustave): intro readeck
This commit is contained in:
parent
3343c41223
commit
3fb9c26b9f
7 changed files with 176 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
|||
./nsd.nix
|
||||
./borg.nix
|
||||
./pages.nix
|
||||
./readeck.nix
|
||||
];
|
||||
|
||||
machine.meta = {
|
||||
|
|
18
machines/gustave/readeck.nix
Normal file
18
machines/gustave/readeck.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
|
||||
age.secrets."readeck-config".file = ../../secrets/readeck-config.age;
|
||||
|
||||
services.nginx.virtualHosts."read.luj" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:8000";
|
||||
};
|
||||
};
|
||||
|
||||
services.readeck = {
|
||||
enable = true;
|
||||
configPath = config.age.secrets."readeck-config".path;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue