Compare commits
3 commits
d17ee9568d
...
805d0bfa69
Author | SHA1 | Date | |
---|---|---|---|
805d0bfa69 | |||
1429fbbb45 | |||
3d5fb42578 |
4 changed files with 63 additions and 41 deletions
20
flake.lock
20
flake.lock
|
@ -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": {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Binary file not shown.
|
@ -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";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue