1
0
Fork 0

Compare commits

..

3 commits

Author SHA1 Message Date
805d0bfa69
Update deps
All checks were successful
Build / build-amd64-linux (push) Successful in 2m17s
Build / build-arm64-linux (push) Successful in 8m36s
2024-02-24 22:46:08 +01:00
1429fbbb45
mediaserver: update settings 2024-02-24 18:19:48 +01:00
3d5fb42578
nvim: use elixir-ls 2024-02-24 18:19:48 +01:00
4 changed files with 63 additions and 41 deletions

View file

@ -305,11 +305,11 @@
]
},
"locked": {
"lastModified": 1708740118,
"narHash": "sha256-QegVC76lU+EMRvz7Gxaav30mTjE3vLx4oaxb/CSdQjU=",
"lastModified": 1708795156,
"narHash": "sha256-PUWpCJUErgCaPTXwqNxKMhFAK0nxtsfy+97L6SJwagc=",
"ref": "refs/heads/master",
"rev": "6482b6b996c993b6c06ace4b35a3466682542f6d",
"revCount": 721,
"rev": "ec9de843587cf4472db7bc1624e12decdd8f8a46",
"revCount": 722,
"type": "git",
"url": "https://git.kempkens.io/daniel/nix-overlay"
},
@ -356,11 +356,11 @@
},
"nixos-unstable": {
"locked": {
"lastModified": 1708720103,
"narHash": "sha256-aSjM8KMdNHTnaIcptpO3EZoq63VT/b4jYPc9VxIzo34=",
"lastModified": 1708765437,
"narHash": "sha256-pFAbQn7RR2lMRpyNhyAogUp7c4reB4uM4fnnbIvUw4k=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "899fe5550bd324dd8356c1ef652faf892cefb88e",
"rev": "5ab08ad057499977d489f1b378e79d166a684e6c",
"type": "github"
},
"original": {
@ -372,11 +372,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1708692673,
"narHash": "sha256-qIQMXkkp3/Lo2Zu41BK/oN3Dt3b5rUJELvt+CbAXPXw=",
"lastModified": 1708751719,
"narHash": "sha256-0uWOKSpXJXmXswOvDM5Vk3blB74apFB6rNGWV5IjoN0=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "48b75eb6e521f2303cb3cd53a94ec80021b422aa",
"rev": "f63ce824cd2f036216eb5f637dfef31e1a03ee89",
"type": "github"
},
"original": {

View file

@ -28,8 +28,9 @@ in
universal-ctags
# LSP
elixir-ls
fennel-ls
lexical
#lexical
#nil
nodePackages.bash-language-server
nodePackages.dockerfile-language-server-nodejs

View file

@ -1,39 +1,60 @@
{ lib, config, ... }:
{ pkgs, lib, config, ... }:
{
services.nginx.virtualHosts."default.internal.kempkens.network" = {
listen = [
{
addr = "0.0.0.0";
port = 443;
ssl = true;
extraParameters = [
"fastopen=63"
"backlog=1023"
"deferred"
];
}
{
addr = "[::0]";
port = 443;
ssl = true;
extraParameters = [
"fastopen=63"
"backlog=1023"
"deferred"
];
}
services.nginx = {
additionalModules = with pkgs.nginxModules; [
vod
];
default = true;
quic = false;
appendHttpConfig = ''
aio on;
onlySSL = true;
useACMEHost = "internal.kempkens.network";
vod_mode local;
vod_metadata_cache metadata_cache 16m;
vod_response_cache response_cache 512m;
vod_last_modified_types *;
vod_segment_duration 9000;
vod_align_segments_to_key_frames on;
vod_dash_fragment_file_name_prefix "segment";
vod_hls_segment_file_name_prefix "segment";
locations."/" = {
return = "418";
vod_manifest_segment_durations_mode accurate;
'';
virtualHosts."default.internal.kempkens.network" = {
listen = [
{
addr = "0.0.0.0";
port = 443;
ssl = true;
extraParameters = [
"fastopen=63"
"backlog=1023"
"deferred"
];
}
{
addr = "[::0]";
port = 443;
ssl = true;
extraParameters = [
"fastopen=63"
"backlog=1023"
"deferred"
];
}
];
default = true;
quic = false;
onlySSL = true;
useACMEHost = "internal.kempkens.network";
locations."/" = {
return = "418";
};
};
};