diff options
author | Preston Pan <ret2pop@gmail.com> | 2025-02-03 02:59:16 -0800 |
---|---|---|
committer | Preston Pan <ret2pop@gmail.com> | 2025-02-03 02:59:16 -0800 |
commit | d6efefc1d9e6b9fd515c5cb5f2a077e05caeaab7 (patch) | |
tree | 16228e6842ade232308754c7b55fff3f46b4205f /nix/modules | |
parent | 9e4f938d03c72bdcd81b020ab5276b969023a7e3 (diff) |
update nixos configuration to have ssh key for live iso; new journal entry
Diffstat (limited to 'nix/modules')
-rw-r--r-- | nix/modules/configuration.nix | 2 | ||||
-rw-r--r-- | nix/modules/home/zsh.nix | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/nix/modules/configuration.nix b/nix/modules/configuration.nix index 8127759..3c12962 100644 --- a/nix/modules/configuration.nix +++ b/nix/modules/configuration.nix @@ -181,7 +181,7 @@ # wifi.macAddress = ""; }; firewall = { - allowedTCPPorts = [ ]; + allowedTCPPorts = [ 11434 ]; allowedUDPPorts = [ ]; }; }; diff --git a/nix/modules/home/zsh.nix b/nix/modules/home/zsh.nix index a5641fd..fc041e9 100644 --- a/nix/modules/home/zsh.nix +++ b/nix/modules/home/zsh.nix @@ -25,7 +25,9 @@ v = "vim"; py = "python3"; rb = "sudo nixos-rebuild switch --flake .#continuity"; + rba = "sudo nixos-rebuild switch --flake .#affinity"; nfu = "cd ~/monorepo/nix && git add . && git commit -m \"new flake lock\" && nix flake update"; + usync = "rsync -azvP --chmod=\"Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r\" ~/website_html/ root@nullring.xyz:/usr/share/nginx/ret2pop/"; usite = "cd ~/src/publish-org-roam-ui && bash local.sh && rm -rf ~/website_html/graph_view; cp -r ~/src/publish-org-roam-ui/out ~/website_html/graph_view && rsync -azvP --chmod=\"Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r\" ~/website_html/ root@${config.monorepo.vars.remoteHost}:/usr/share/nginx/ret2pop/"; sai = "eval \"$(ssh-agent -s)\" && ssh-add ~/.ssh/id_ed25519 && ssh-add -l"; |