summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/cloud/hetzner/nginx.nix18
-rw-r--r--hosts/local/s15/configuration.nix30
-rw-r--r--hosts/pkgs.nix4
3 files changed, 38 insertions, 14 deletions
diff --git a/hosts/cloud/hetzner/nginx.nix b/hosts/cloud/hetzner/nginx.nix
index 4a6d708..1077e71 100644
--- a/hosts/cloud/hetzner/nginx.nix
+++ b/hosts/cloud/hetzner/nginx.nix
@@ -25,5 +25,23 @@
proxy_cache off;
'';
};
+ virtualHosts."webmail.urbit.cloud" = {
+ enableACME = true;
+ forceSSL = true;
+ locations."/" = {
+ proxyPass = "http://127.0.0.1:8888";
+ # proxyWebsockets = true; # needed if you need to use WebSocket
+ extraConfig = ''
+ proxy_set_header Host $host;
+ proxy_set_header Forwarded $proxy_add_x_forwarded_for;
+ '';
+ };
+ extraConfig = ''
+ chunked_transfer_encoding off;
+ proxy_http_version 1.1;
+ proxy_buffering off;
+ proxy_cache off;
+ '';
+ };
};
}
diff --git a/hosts/local/s15/configuration.nix b/hosts/local/s15/configuration.nix
index ae594de..20efcb5 100644
--- a/hosts/local/s15/configuration.nix
+++ b/hosts/local/s15/configuration.nix
@@ -7,17 +7,19 @@
inputs,
pkgs,
...
-}: let
- wrappers =
- inputs.wrapper-manager.lib.build
- {
- inherit pkgs;
- modules = [
- ../../../wrappers/aerc
- ../../../wrappers/zellij
- ];
- };
-in {
+}:
+# let
+# wrappers =
+# inputs.wrapper-manager.lib.build
+# {
+# inherit pkgs;
+# modules = [
+# ../../../wrappers/aerc
+# ../../../wrappers/zellij
+# ];
+# };
+# in
+{
nixpkgs.config = {
allowUnfree = true;
allowUnfreePredicate = _: true;
@@ -31,12 +33,12 @@ in {
../../editors.nix
../../pkgs.nix
../../server.nix
- ../../gpg.nix
- ./gui.nix
+ # ../../gpg.nix
];
environment.systemPackages = [
- wrappers
+ # wrappers
pkgs.superhtml
+ pkgs.broken-sword-25
];
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
diff --git a/hosts/pkgs.nix b/hosts/pkgs.nix
index a084f51..17556bf 100644
--- a/hosts/pkgs.nix
+++ b/hosts/pkgs.nix
@@ -67,6 +67,10 @@
# aider-chat
# inputs.yek.packages.x86_64-linux.default
# python312Packages.google-generativeai
+ claude-code
+ codex
+ nushell
+ gemini-cli
]
++ lib.optionals pkgs.stdenv.isLinux [
# linuxKernel.packages.linux_latest_libre.cpupower