Ran nixfmt-tree
Some checks failed
Buill NixOS Configurations / build (carbon) (push) Has been cancelled
Buill NixOS Configurations / build (git) (push) Has been cancelled
Buill NixOS Configurations / build (gospel) (push) Has been cancelled
Buill NixOS Configurations / build (node) (push) Has been cancelled
Some checks failed
Buill NixOS Configurations / build (carbon) (push) Has been cancelled
Buill NixOS Configurations / build (git) (push) Has been cancelled
Buill NixOS Configurations / build (gospel) (push) Has been cancelled
Buill NixOS Configurations / build (node) (push) Has been cancelled
This commit is contained in:
parent
259c75204d
commit
3edb267414
9 changed files with 153 additions and 160 deletions
|
|
@ -75,8 +75,7 @@ in
|
||||||
tmuxPlugins.vim-tmux-navigator
|
tmuxPlugins.vim-tmux-navigator
|
||||||
];
|
];
|
||||||
|
|
||||||
extraConfig =
|
extraConfig = ''
|
||||||
''
|
|
||||||
# Scrolling with mouse wheel scrolls output instead of previous commands
|
# Scrolling with mouse wheel scrolls output instead of previous commands
|
||||||
setw -g mouse on
|
setw -g mouse on
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,8 +38,7 @@ in
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
virtualHosts."adguardhome.kilonull.com" =
|
virtualHosts."adguardhome.kilonull.com" = {
|
||||||
{
|
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://127.0.0.1:3000";
|
proxyPass = "http://127.0.0.1:3000";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -113,8 +113,7 @@ in
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts."${server_settings.domain}" =
|
virtualHosts."${server_settings.domain}" = {
|
||||||
{
|
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://${server_settings.http_addr}:${toString server_settings.http_port}";
|
proxyPass = "http://${server_settings.http_addr}:${toString server_settings.http_port}";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
|
|
|
||||||
|
|
@ -33,8 +33,7 @@ in
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"minio.kilonull.com" =
|
"minio.kilonull.com" = {
|
||||||
{
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
# Allow special characters in headers
|
# Allow special characters in headers
|
||||||
ignore_invalid_headers off;
|
ignore_invalid_headers off;
|
||||||
|
|
|
||||||
|
|
@ -45,8 +45,7 @@ in
|
||||||
|
|
||||||
nginx = {
|
nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts."${cfg.subdomain_name}.${cfg.domain_name}" =
|
virtualHosts."${cfg.subdomain_name}.${cfg.domain_name}" = {
|
||||||
{
|
|
||||||
serverAliases = [ "${cfg.subdomain_name}" ];
|
serverAliases = [ "${cfg.subdomain_name}" ];
|
||||||
locations."/".extraConfig = ''
|
locations."/".extraConfig = ''
|
||||||
proxy_pass http://localhost:${toString config.services.nix-serve.port};
|
proxy_pass http://localhost:${toString config.services.nix-serve.port};
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,7 @@ in
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
virtualHosts."octoprint.kilonull.com" =
|
virtualHosts."octoprint.kilonull.com" = {
|
||||||
{
|
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://127.0.0.1:${toString config.services.octoprint.port}";
|
proxyPass = "http://127.0.0.1:${toString config.services.octoprint.port}";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
|
|
|
||||||
|
|
@ -30,8 +30,7 @@ in
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts."sunshine.kilonull.com" =
|
virtualHosts."sunshine.kilonull.com" = {
|
||||||
{
|
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
# NOTE: Sunshine is a little weird since it requires multiple
|
# NOTE: Sunshine is a little weird since it requires multiple
|
||||||
|
|
|
||||||
|
|
@ -147,8 +147,7 @@ in
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts."teslamate.kilonull.com" =
|
virtualHosts."teslamate.kilonull.com" = {
|
||||||
{
|
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
|
|
|
||||||
|
|
@ -58,6 +58,7 @@ in
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
|
|
||||||
extraGroups = [ "wheel" ] ++ cfg.extraGroups;
|
extraGroups = [ "wheel" ] ++ cfg.extraGroups;
|
||||||
} // cfg.extraOptions;
|
}
|
||||||
|
// cfg.extraOptions;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue