24 lines
457 B
Nix
24 lines
457 B
Nix
|
{ abs, pkgs, ... }@inputs:
|
||
|
|
||
|
{
|
||
|
imports = [
|
||
|
((import (abs "lib/containers.nix") inputs).mkDockerComposeContainer {
|
||
|
directory = ./.;
|
||
|
})
|
||
|
];
|
||
|
|
||
|
systemd.tmpfiles.rules = [
|
||
|
"d /mnt/puffer/Sharkey 0777 root root -"
|
||
|
];
|
||
|
|
||
|
services.nginx.virtualHosts."very.stupid.fish" = {
|
||
|
forceSSL = true;
|
||
|
useACMEHost = "stupid.fish";
|
||
|
|
||
|
locations."/" = {
|
||
|
proxyPass = "http://web.sharkey.docker/";
|
||
|
proxyWebsockets = true;
|
||
|
};
|
||
|
};
|
||
|
}
|