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

View file

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

View file

@ -1,39 +1,60 @@
{ lib, config, ... }: { pkgs, lib, config, ... }:
{ {
services.nginx.virtualHosts."default.internal.kempkens.network" = { services.nginx = {
listen = [ additionalModules = with pkgs.nginxModules; [
{ vod
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; appendHttpConfig = ''
quic = false; aio on;
onlySSL = true; vod_mode local;
useACMEHost = "internal.kempkens.network"; 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."/" = { vod_manifest_segment_durations_mode accurate;
return = "418"; '';
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";
};
}; };
}; };