Compare commits
2 Commits
77c34b132a
...
58ab34e560
Author | SHA1 | Date |
---|---|---|
coolneng | 58ab34e560 | |
coolneng | 40286bb0da |
11
README.org
11
README.org
|
@ -37,21 +37,14 @@ scp -R Projects/zion zion:/home/nixos/system
|
|||
scp .ssh/zion root@zion:/etc/ssh/id_ed25519
|
||||
#+end_src
|
||||
|
||||
4. Increase the size of tmpfs
|
||||
|
||||
#+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
|
||||
4. Rebuild the system using Flakes
|
||||
|
||||
#+begin_src shell
|
||||
nix-shell -p git
|
||||
sudo nixos-rebuild switch --flake /home/nixos/system#zion --impure
|
||||
#+end_src
|
||||
|
||||
6. Restore the SQL databases
|
||||
5. Restore the SQL databases
|
||||
|
||||
#+begin_src shell
|
||||
psql -U postgres -f /vault/backups/zion/databases/all.sql
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
image =
|
||||
"evanbuss/openbooks@sha256:16609c3da954715f8f98b5de6c838146914ae700b2a700b4d9aad8b23c9217da";
|
||||
ports = [ "127.0.0.1:9000:80" ];
|
||||
cmd = [ "--name" "bookworm" "--useragent" "HexChat 2.9.1" ];
|
||||
cmd = [ "--name" "bookworm" "--searchbot" "searchook" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -145,7 +145,6 @@
|
|||
proxyPass = "http://localhost:9000/";
|
||||
proxyWebsockets = true;
|
||||
extraConfig = ''
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
'';
|
||||
|
|
Loading…
Reference in New Issue