Updates frontend.
This commit is contained in:
parent
d2a261f41a
commit
45db2e06de
|
@ -112,11 +112,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1695576082,
|
"lastModified": 1696044784,
|
||||||
"narHash": "sha256-0Ymv+QvXBfypM5+O52spaNzErBDnEsuiMYAKRyaVxFc=",
|
"narHash": "sha256-QsWuIAuxKXEa4DMtMz/VAcTVlzQ9UG6GVDGwhEYNUHE=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "3d8c6bbe52fa5350ef611b412c46f94ffe2e1102",
|
"rev": "7e4006d3c198adcaa7a193755564e9d33b077719",
|
||||||
"revCount": 9,
|
"revCount": 17,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://fem.mint.lgbt/theotheroracle/andisco.git"
|
"url": "https://fem.mint.lgbt/theotheroracle/andisco.git"
|
||||||
},
|
},
|
||||||
|
|
14
melodies.nix
14
melodies.nix
|
@ -7,20 +7,6 @@
|
||||||
sslCertificate = "/etc/ssl/snakeoil.crt";
|
sslCertificate = "/etc/ssl/snakeoil.crt";
|
||||||
sslCertificateKey = "/etc/ssl/snakeoil.key";
|
sslCertificateKey = "/etc/ssl/snakeoil.key";
|
||||||
root = pkgs.mmelodies.frontend;
|
root = pkgs.mmelodies.frontend;
|
||||||
locations."/hls/" = {
|
|
||||||
alias = "/var/cache/hls/";
|
|
||||||
extraConfig = ''
|
|
||||||
types {
|
|
||||||
application/vnd.apple.mpegurl m3u8;
|
|
||||||
video/mp2t ts;
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
|
||||||
"d /dev/shm/hls 0755 appuser users 12h -"
|
|
||||||
"L /var/cache/hls - - - - /dev/shm/hls"
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue