346 current 2025-10-12 11:43:32 25.05.20251006.20c4598 6.12.50 *
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# flake for blakes nixos config
|
# flake for blakes nixos config
|
||||||
# define new devices in outputs
|
# define new devices in outputs
|
||||||
# generation: 345 current 2025-10-12 11:39:59 25.05.20251006.20c4598 6.12.50 *
|
# generation: 346 current 2025-10-12 11:43:32 25.05.20251006.20c4598 6.12.50 *
|
||||||
{
|
{
|
||||||
description = "blakes nix config";
|
description = "blakes nix config";
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|||||||
@@ -47,15 +47,13 @@ in
|
|||||||
email = "me@blakedheld.xyz";
|
email = "me@blakedheld.xyz";
|
||||||
globalConfig = ''
|
globalConfig = ''
|
||||||
auto_https ignore_loaded_certs
|
auto_https ignore_loaded_certs
|
||||||
|
handle_errors {
|
||||||
|
@notFound {
|
||||||
|
expression {http.error.status_code} == 404
|
||||||
|
}
|
||||||
|
redir @notFound https://www.youtube.com/watch?v=dQw4w9WgXcQ 302
|
||||||
|
}
|
||||||
'';
|
'';
|
||||||
virtualHosts = {
|
|
||||||
# catch all redirect
|
|
||||||
"catchall" = {
|
|
||||||
extraConfig = ''
|
|
||||||
@catchall not host *
|
|
||||||
redir @catchall https://www.youtube.com/watch?v=dQw4w9WgXcQ 302
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user