aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix4
-rw-r--r--home.nix19
-rw-r--r--initial-deploy.sh6
3 files changed, 20 insertions, 9 deletions
diff --git a/flake.nix b/flake.nix
index 08f4a85..be470f9 100644
--- a/flake.nix
+++ b/flake.nix
@@ -3,10 +3,10 @@
inputs = {
nixpkgs = {
- url = "github:nixos/nixpkgs/nixos-24.05";
+ url = "github:nixos/nixpkgs/nixos-24.11";
};
home-manager = {
- url = "github:nix-community/home-manager/release-24.05";
+ url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs";
};
diff --git a/home.nix b/home.nix
index 7b0b23f..6268007 100644
--- a/home.nix
+++ b/home.nix
@@ -72,6 +72,9 @@
vscode-langservers-extracted
x11_ssh_askpass
xdg-utils
+ nodejs
+ yarn
+ jq
(aspellWithDicts
(dicts: with dicts; [ en en-computers en-science ]))
(nerdfonts.override { fonts = [ "Iosevka" ]; })
@@ -988,6 +991,8 @@ on-notify=exec mpv /home/preston/sounds/notification.wav --no-config --no-video
py = "python3";
rb = "doas nixos-rebuild switch";
nfu = "cd ~/src/hyprnixmacs && git add . && git commit -m \"new flake lock\" && cd /etc/nixos/ && doas nix flake update";
+ 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@nullring.xyz:/usr/share/nginx/ret2pop/";
sai = "eval \"$(ssh-agent -s)\" && ssh-add ~/.ssh/id_ed25519 && ssh-add -l";
i3 = "exec ${pkgs.i3-gaps}/bin/i3";
};
@@ -1084,7 +1089,7 @@ on-notify=exec mpv /home/preston/sounds/notification.wav --no-config --no-video
mbsync = {
enable = true;
extraConfig = ''
- IMAPAccount prestonpan
+ IMAPAccount ret2pop
Host imap.gmail.com
User ret2pop@gmail.com
PassCmd "pass Mail"
@@ -1093,17 +1098,17 @@ on-notify=exec mpv /home/preston/sounds/notification.wav --no-config --no-video
AuthMechs *
CertificateFile /etc/ssl/certs/ca-certificates.crt
- IMAPStore prestonpan-remote
- Account prestonpan
+ IMAPStore ret2pop-remote
+ Account ret2pop
- MaildirStore prestonpan-local
+ MaildirStore ret2pop-local
Path ~/email/ret2pop/
Inbox ~/email/ret2pop/INBOX
SubFolders Verbatim
- Channel prestonpan
- Far :prestonpan-remote:
- Near :prestonpan-local:
+ Channel ret2pop
+ Far :ret2pop-remote:
+ Near :ret2pop-local:
Patterns *
Create Near
Sync All
diff --git a/initial-deploy.sh b/initial-deploy.sh
new file mode 100644
index 0000000..63f1f90
--- /dev/null
+++ b/initial-deploy.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+# install git first.
+mkdir -p ~/org
+git clone git@github.com:ret2pop/ret2pop-website ~/org/website
+mkdir -p ~/src
+git clone git@nullring.xyz:/var/git/publish-org-roam-ui ~/src