Compare commits

...

2 Commits

Author SHA1 Message Date
coolneng 58ab34e560
Update README 2023-01-22 17:59:14 +01:00
coolneng 40286bb0da
Fix openboks search 2023-01-22 17:58:53 +01:00
3 changed files with 3 additions and 11 deletions

View File

@ -37,21 +37,14 @@ scp -R Projects/zion zion:/home/nixos/system
scp .ssh/zion root@zion:/etc/ssh/id_ed25519 scp .ssh/zion root@zion:/etc/ssh/id_ed25519
#+end_src #+end_src
4. Increase the size of tmpfs 4. Rebuild the system using Flakes
#+begin_src shell
sudo mount -o remount,size=4G /run/user/0
sudo mount -o remount,size=2G /run/user/1000
#+end_src
5. Rebuild the system using Flakes
#+begin_src shell #+begin_src shell
nix-shell -p git nix-shell -p git
sudo nixos-rebuild switch --flake /home/nixos/system#zion --impure sudo nixos-rebuild switch --flake /home/nixos/system#zion --impure
#+end_src #+end_src
6. Restore the SQL databases 5. Restore the SQL databases
#+begin_src shell #+begin_src shell
psql -U postgres -f /vault/backups/zion/databases/all.sql psql -U postgres -f /vault/backups/zion/databases/all.sql

View File

@ -54,7 +54,7 @@
image = image =
"evanbuss/openbooks@sha256:16609c3da954715f8f98b5de6c838146914ae700b2a700b4d9aad8b23c9217da"; "evanbuss/openbooks@sha256:16609c3da954715f8f98b5de6c838146914ae700b2a700b4d9aad8b23c9217da";
ports = [ "127.0.0.1:9000:80" ]; ports = [ "127.0.0.1:9000:80" ];
cmd = [ "--name" "bookworm" "--useragent" "HexChat 2.9.1" ]; cmd = [ "--name" "bookworm" "--searchbot" "searchook" ];
}; };
}; };
}; };

View File

@ -145,7 +145,6 @@
proxyPass = "http://localhost:9000/"; proxyPass = "http://localhost:9000/";
proxyWebsockets = true; proxyWebsockets = true;
extraConfig = '' extraConfig = ''
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade"; proxy_set_header Connection "Upgrade";
''; '';