From 9ab99d07ef2acc550f703a452f6af5b9ae160a9e Mon Sep 17 00:00:00 2001 From: Jake Ginesin Date: Thu, 9 Oct 2025 00:25:39 -0400 Subject: [PATCH 01/13] generation 519 25.11.20250714.62e0f05 --- home/programs/sxhkd/sxhkdrc | 6 ++++-- home/scripts/school/cs-browser.sh | 1 + home/scripts/school/cs-firefox.sh | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 home/scripts/school/cs-browser.sh create mode 100644 home/scripts/school/cs-firefox.sh diff --git a/home/programs/sxhkd/sxhkdrc b/home/programs/sxhkd/sxhkdrc index 1353ebb..8c1a5d9 100644 --- a/home/programs/sxhkd/sxhkdrc +++ b/home/programs/sxhkd/sxhkdrc @@ -209,10 +209,12 @@ super + {ctrl} + {k} # search for current semester area, then open terminal wherever it is super + {ctrl} + {c} - find /home/synchronous/current-semester -follow -maxdepth 1 | cut -c36- | sed '/^[[:space:]]*$/d' | rofi -dmenu | read csem && alacritty --working-directory "/home/synchronous/current-semester/$csem"; + cs-browser + # find /home/synchronous/current-semester -follow -maxdepth 1 | cut -c36- | sed '/^[[:space:]]*$/d' | rofi -dmenu | read csem && alacritty --working-directory "/home/synchronous/current-semester/$csem"; super + {alt} + {c} - find /home/synchronous/current-semester -follow -maxdepth 1 | cut -c36- | sed '/^[[:space:]]*$/d' | rofi -dmenu | read rsem; yq ".url" "/home/synchronous/current-semester/$rsem/info.yaml" | xargs firefox + cs-firefox + # find /home/synchronous/current-semester -follow -maxdepth 1 | cut -c36- | sed '/^[[:space:]]*$/d' | rofi -dmenu | read rsem; yq ".url" "/home/synchronous/current-semester/$rsem/info.yaml" | xargs firefox # sh /home/synchronous/.scripts/vimwiki/open_todo.sh super + {p} diff --git a/home/scripts/school/cs-browser.sh b/home/scripts/school/cs-browser.sh new file mode 100644 index 0000000..c042f42 --- /dev/null +++ b/home/scripts/school/cs-browser.sh @@ -0,0 +1 @@ +find /home/synchronous/current-semester -follow -maxdepth 1 | cut -c36- | sed '/^[[:space:]]*$/d' | rofi -dmenu | read csem && alacritty --working-directory "/home/synchronous/current-semester/$csem"; diff --git a/home/scripts/school/cs-firefox.sh b/home/scripts/school/cs-firefox.sh new file mode 100644 index 0000000..c38c410 --- /dev/null +++ b/home/scripts/school/cs-firefox.sh @@ -0,0 +1 @@ +find /home/synchronous/current-semester -follow -maxdepth 1 | cut -c36- | sed '/^[[:space:]]*$/d' | rofi -dmenu | read rsem; yq ".url" "/home/synchronous/current-semester/$rsem/info.yaml" | xargs firefox From 0c1c2d1693d26fbe984af83c6b41cba171e0a94b Mon Sep 17 00:00:00 2001 From: Jake Ginesin Date: Thu, 9 Oct 2025 00:31:40 -0400 Subject: [PATCH 02/13] generation 520 25.11.20250714.62e0f05 --- home/scripts/school/cs-firefox.sh | 4 +++- system/users/default.nix | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/home/scripts/school/cs-firefox.sh b/home/scripts/school/cs-firefox.sh index c38c410..db98b42 100644 --- a/home/scripts/school/cs-firefox.sh +++ b/home/scripts/school/cs-firefox.sh @@ -1 +1,3 @@ -find /home/synchronous/current-semester -follow -maxdepth 1 | cut -c36- | sed '/^[[:space:]]*$/d' | rofi -dmenu | read rsem; yq ".url" "/home/synchronous/current-semester/$rsem/info.yaml" | xargs firefox +# find /home/synchronous/current-semester -follow -maxdepth 1 | cut -c36- | sed '/^[[:space:]]*$/d' | rofi -dmenu | read rsem; yq ".url" "/home/synchronous/current-semester/$rsem/info.yaml" | xargs firefox +rsem=$(find /home/synchronous/current-semester -follow -maxdepth 1 | cut -c36- | sed '/^[[:space:]]*$/d' | rofi -dmenu) +yq ".url" "/home/synchronous/current-semester/$rsem/info.yaml" | xargs firefox diff --git a/system/users/default.nix b/system/users/default.nix index 79b6bf3..ce9ac86 100644 --- a/system/users/default.nix +++ b/system/users/default.nix @@ -73,6 +73,7 @@ in { polybar sxhkd bspwm + yq # linuxKernel.packages.linux_zen.rtl8812au # librewolf ]; From bf63403f1a15be50c3ee8ff6457ec2888a838ec0 Mon Sep 17 00:00:00 2001 From: Jake Ginesin Date: Thu, 9 Oct 2025 00:35:43 -0400 Subject: [PATCH 03/13] generation 521 25.11.20250714.62e0f05 --- home/scripts/dns/dnsblock-norestart.sh | 3 +++ home/scripts/dns/dnsblock.sh | 2 ++ 2 files changed, 5 insertions(+) diff --git a/home/scripts/dns/dnsblock-norestart.sh b/home/scripts/dns/dnsblock-norestart.sh index ad73e91..5d374c2 100755 --- a/home/scripts/dns/dnsblock-norestart.sh +++ b/home/scripts/dns/dnsblock-norestart.sh @@ -14,6 +14,9 @@ if [[ $OP == on ]]; then tee "$FILE" >/dev/null </dev/null < Date: Thu, 9 Oct 2025 00:48:03 -0400 Subject: [PATCH 04/13] generation 522 25.11.20250714.62e0f05 --- home/programs/nvim/default.nix | 4 ++++ home/programs/nvim/plugins/mini-animate.lua | 1 + home/scripts/school/cs-firefox.sh | 9 +++++++-- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 home/programs/nvim/plugins/mini-animate.lua diff --git a/home/programs/nvim/default.nix b/home/programs/nvim/default.nix index f7e1c2c..41c5406 100644 --- a/home/programs/nvim/default.nix +++ b/home/programs/nvim/default.nix @@ -39,6 +39,10 @@ vim-airline-themes plenary-nvim nvim-web-devicons + { + plugin = mini-animate; + config = toLuaFile ./plugins/mini-animate.lua; + } { plugin = telescope-nvim; config = toLuaFile ./plugins/telescope.lua; diff --git a/home/programs/nvim/plugins/mini-animate.lua b/home/programs/nvim/plugins/mini-animate.lua new file mode 100644 index 0000000..8a370bd --- /dev/null +++ b/home/programs/nvim/plugins/mini-animate.lua @@ -0,0 +1 @@ +require('mini.animate').setup() diff --git a/home/scripts/school/cs-firefox.sh b/home/scripts/school/cs-firefox.sh index db98b42..6c4ae3e 100644 --- a/home/scripts/school/cs-firefox.sh +++ b/home/scripts/school/cs-firefox.sh @@ -1,3 +1,8 @@ -# find /home/synchronous/current-semester -follow -maxdepth 1 | cut -c36- | sed '/^[[:space:]]*$/d' | rofi -dmenu | read rsem; yq ".url" "/home/synchronous/current-semester/$rsem/info.yaml" | xargs firefox rsem=$(find /home/synchronous/current-semester -follow -maxdepth 1 | cut -c36- | sed '/^[[:space:]]*$/d' | rofi -dmenu) -yq ".url" "/home/synchronous/current-semester/$rsem/info.yaml" | xargs firefox + +# Exit if nothing selected +[ -z "$rsem" ] && exit 0 + +# Get URL and open if it exists +url=$(yq -r ".url" "/home/synchronous/current-semester/$rsem/info.yaml") +[ -n "$url" ] && firefox "$url" From 987e6067f198524f9a63ef26eb6781872b236ec5 Mon Sep 17 00:00:00 2001 From: Jake Ginesin Date: Thu, 9 Oct 2025 01:05:21 -0400 Subject: [PATCH 05/13] generation 523 25.11.20250714.62e0f05 --- home/programs/nvim/default.nix | 12 ++++++++++-- home/programs/nvim/plugins/mini-animate.lua | 20 +++++++++++++++++++- home/programs/nvim/plugins/neovide.lua | 0 home/programs/nvim/plugins/smear.lua | 19 +++++++++++++++++++ 4 files changed, 48 insertions(+), 3 deletions(-) create mode 100644 home/programs/nvim/plugins/neovide.lua create mode 100644 home/programs/nvim/plugins/smear.lua diff --git a/home/programs/nvim/default.nix b/home/programs/nvim/default.nix index 41c5406..1c83931 100644 --- a/home/programs/nvim/default.nix +++ b/home/programs/nvim/default.nix @@ -40,9 +40,17 @@ plenary-nvim nvim-web-devicons { - plugin = mini-animate; - config = toLuaFile ./plugins/mini-animate.lua; + plugin = smear-cursor-nvim; + config = toLuaFile ./plugins/smear.lua; } + # { + # plugin = neovide; + # config = toLuaFile ./plugins/neovide.lua; + # } + # { worthless plugin don't use + # plugin = mini-animate; + # config = toLuaFile ./plugins/mini-animate.lua; + # } { plugin = telescope-nvim; config = toLuaFile ./plugins/telescope.lua; diff --git a/home/programs/nvim/plugins/mini-animate.lua b/home/programs/nvim/plugins/mini-animate.lua index 8a370bd..eb02152 100644 --- a/home/programs/nvim/plugins/mini-animate.lua +++ b/home/programs/nvim/plugins/mini-animate.lua @@ -1 +1,19 @@ -require('mini.animate').setup() +-- require('mini.animate').setup() + +-- require('mini.animate').setup({ + -- cursor = { + -- enable = true, + -- }, + -- scroll = { + -- enable = false, + -- }, + -- resize = { + -- enable = false, + -- }, + -- open = { + -- enable = false, + -- }, + -- close = { + -- enable = false, + -- }, +-- }) diff --git a/home/programs/nvim/plugins/neovide.lua b/home/programs/nvim/plugins/neovide.lua new file mode 100644 index 0000000..e69de29 diff --git a/home/programs/nvim/plugins/smear.lua b/home/programs/nvim/plugins/smear.lua new file mode 100644 index 0000000..90d60ec --- /dev/null +++ b/home/programs/nvim/plugins/smear.lua @@ -0,0 +1,19 @@ +require('smear_cursor').setup({ + -- Main options + stiffness = 0.6, -- [0, 1] - cursor follow speed + trailing_stiffness = 0.45, -- [0, 1] - trail follow speed + distance_stop_animating = 0.1, -- stop when close enough + + -- Insert mode + smear_insert_mode = true, + stiffness_insert_mode = 0.5, + trailing_stiffness_insert_mode = 0.5, + + -- Visual tweaks + cursor_color = "#d3cdc3", -- match your cursor color + legacy_computing_symbols_support = false, + + -- Optional + smear_between_buffers = true, + smear_between_neighbor_lines = true, +}) From 7a38916141663b233bc9cdc074e0f68db27e8994 Mon Sep 17 00:00:00 2001 From: Jake Ginesin Date: Thu, 9 Oct 2025 01:12:21 -0400 Subject: [PATCH 06/13] generation 524 25.11.20250714.62e0f05 --- home/programs/nvim/plugins/smear.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/programs/nvim/plugins/smear.lua b/home/programs/nvim/plugins/smear.lua index 90d60ec..e5ef571 100644 --- a/home/programs/nvim/plugins/smear.lua +++ b/home/programs/nvim/plugins/smear.lua @@ -1,6 +1,6 @@ require('smear_cursor').setup({ -- Main options - stiffness = 0.6, -- [0, 1] - cursor follow speed + stiffness = 0.4, -- [0, 1] - cursor follow speed trailing_stiffness = 0.45, -- [0, 1] - trail follow speed distance_stop_animating = 0.1, -- stop when close enough From 6f8aa3a84c68801bd4e6b610f336665fe80c9066 Mon Sep 17 00:00:00 2001 From: Jake Ginesin Date: Fri, 10 Oct 2025 18:58:37 -0400 Subject: [PATCH 07/13] generation 525 25.11.20250714.62e0f05 --- home/programs/nvim/plugins/smear.lua | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/home/programs/nvim/plugins/smear.lua b/home/programs/nvim/plugins/smear.lua index e5ef571..655f39b 100644 --- a/home/programs/nvim/plugins/smear.lua +++ b/home/programs/nvim/plugins/smear.lua @@ -1,19 +1,10 @@ require('smear_cursor').setup({ - -- Main options - stiffness = 0.4, -- [0, 1] - cursor follow speed - trailing_stiffness = 0.45, -- [0, 1] - trail follow speed - distance_stop_animating = 0.1, -- stop when close enough - - -- Insert mode - smear_insert_mode = true, - stiffness_insert_mode = 0.5, - trailing_stiffness_insert_mode = 0.5, - - -- Visual tweaks - cursor_color = "#d3cdc3", -- match your cursor color - legacy_computing_symbols_support = false, - - -- Optional - smear_between_buffers = true, - smear_between_neighbor_lines = true, + scroll_buffer_space = false, + smear_between_buffers = false, + smear_between_neighbor_lines = false, + stiffness = 0.5, + trailing_stiffness = 0.5, + matrix_pixel_threshold = 0.5, + damping = 0.95, + smear_insert_mode = false, }) From b55e016236712f1904ea08a66871cf4bff9ac8c8 Mon Sep 17 00:00:00 2001 From: Jake Ginesin Date: Mon, 13 Oct 2025 20:45:52 -0400 Subject: [PATCH 08/13] generation 525 25.11.20250714.62e0f05 --- home/programs/firefox/default.nix | 291 +++++++++++++++--------------- 1 file changed, 147 insertions(+), 144 deletions(-) diff --git a/home/programs/firefox/default.nix b/home/programs/firefox/default.nix index 2caec08..cd99a87 100644 --- a/home/programs/firefox/default.nix +++ b/home/programs/firefox/default.nix @@ -77,150 +77,153 @@ in { display: none !important } ''; - bookmarks = [ - { - name = "Bar"; - toolbar = true; - bookmarks = [ - { - name = "nixos"; - bookmarks = [ - { - name = "noogle"; - url = "https://noogle.dev/"; - } - { - name = "home manager options"; - url = "https://home-manager-options.extranix.com/"; - } - { - name = "nixpkgs"; - url = "https://search.nixos.org/packages"; - } - { - name = "dots"; - url = "https://github.com/JakeGinesin/nix-dots"; - } - { - name = "nix options"; - url = "https://search.nixos.org/options"; - } - { - name = "old packages"; - url = "https://lazamar.co.uk/nix-versions/"; - } - ]; - } - { - name = "cmu"; - bookmarks = [ - { - name = "computing facilities"; - url = "https://computing.cs.cmu.edu/landing/student"; - } - { - name = "csd phd resources"; - url = "https://www.cs.cmu.edu/~csd-grad/"; - } - { - name = "general phd resources"; - url = "https://csd.cmu.edu/academics/doctoral-resources"; - } - # { - # name = "cmu orders"; - # url = "https://rams.srv.cs.cmu.edu/ords/"; - # } - { - name = "cmu sio"; - url = "https://s3.andrew.cmu.edu/sio"; - } - { - name = "husker"; - url = "https://www.husker.nu"; - } - { - name = "mit library experts"; - url = "https://libraries.mit.edu/experts/"; - } - { - name = "cmu canvas"; - url = "https://canvas.cmu.edu/"; - } - { - name = "cmu email"; - url = "https://email.cmu.edu"; - } - { - name = "grfp"; - url = "https://www.research.gov/grfp/Login.do"; # your tax dollars fund my phd loser. pay big sam up. - } - { - name = "cmueats"; - url = "https://cmueats.com/"; - } - { - name = "cmucourses"; - url = "https://cmucourses.com/"; - } - ]; - } - { - name = "solvers"; - bookmarks = [ - { - name = "GPT"; - url = "https://chatgpt.com"; # sam altman is a horrible person and i cannot wait for the day i can ditch this shit - } - { - name = "claude"; - url = "https://claude.ai"; - } - { - name = "gemini"; - url = "https://gemini.google.com"; - } - ]; - } - { - name = "verus"; - bookmarks = [ - { - name = "verus playground"; - url = "https://play.verus-lang.org/?version=stable&mode=basic&edition=2021"; - } - { - name = "verus docs"; - url = "https://verus-lang.github.io/verus/guide/verus_macro_intro.html"; - } - { - name = "verus zulip"; - url = "https://verus-lang.zulipchat.com/#feed"; - } - { - name = "vstd docs"; - url = "https://verus-lang.github.io/verus/verusdoc/vstd/index.html"; - } - { - name = "core docs"; - url = "https://doc.rust-lang.org/1.88.0/core/index.html"; - } - { - name = "verus github"; - url = "https://github.com/verus-lang/verus"; - } - ]; - } - { - name = "cal"; - url = "https://calendar.google.com/"; - } - { - name = "performance"; - url = "about:processes"; - } - ]; - } - ]; + bookmarks = { + force = true; + settings = [ + { + name = "Bar"; + toolbar = true; + bookmarks = [ + { + name = "nixos"; + bookmarks = [ + { + name = "noogle"; + url = "https://noogle.dev/"; + } + { + name = "home manager options"; + url = "https://home-manager-options.extranix.com/"; + } + { + name = "nixpkgs"; + url = "https://search.nixos.org/packages"; + } + { + name = "dots"; + url = "https://github.com/JakeGinesin/nix-dots"; + } + { + name = "nix options"; + url = "https://search.nixos.org/options"; + } + { + name = "old packages"; + url = "https://lazamar.co.uk/nix-versions/"; + } + ]; + } + { + name = "cmu"; + bookmarks = [ + { + name = "computing facilities"; + url = "https://computing.cs.cmu.edu/landing/student"; + } + { + name = "csd phd resources"; + url = "https://www.cs.cmu.edu/~csd-grad/"; + } + { + name = "general phd resources"; + url = "https://csd.cmu.edu/academics/doctoral-resources"; + } + # { + # name = "cmu orders"; + # url = "https://rams.srv.cs.cmu.edu/ords/"; + # } + { + name = "cmu sio"; + url = "https://s3.andrew.cmu.edu/sio"; + } + { + name = "husker"; + url = "https://www.husker.nu"; + } + { + name = "mit library experts"; + url = "https://libraries.mit.edu/experts/"; + } + { + name = "cmu canvas"; + url = "https://canvas.cmu.edu/"; + } + { + name = "cmu email"; + url = "https://email.cmu.edu"; + } + { + name = "grfp"; + url = "https://www.research.gov/grfp/Login.do"; # your tax dollars fund my phd loser. pay big sam up. + } + { + name = "cmueats"; + url = "https://cmueats.com/"; + } + { + name = "cmucourses"; + url = "https://cmucourses.com/"; + } + ]; + } + { + name = "solvers"; + bookmarks = [ + { + name = "GPT"; + url = "https://chatgpt.com"; # sam altman is a horrible person and i cannot wait for the day i can ditch this shit + } + { + name = "claude"; + url = "https://claude.ai"; + } + { + name = "gemini"; + url = "https://gemini.google.com"; + } + ]; + } + { + name = "verus"; + bookmarks = [ + { + name = "verus playground"; + url = "https://play.verus-lang.org/?version=stable&mode=basic&edition=2021"; + } + { + name = "verus docs"; + url = "https://verus-lang.github.io/verus/guide/verus_macro_intro.html"; + } + { + name = "verus zulip"; + url = "https://verus-lang.zulipchat.com/#feed"; + } + { + name = "vstd docs"; + url = "https://verus-lang.github.io/verus/verusdoc/vstd/index.html"; + } + { + name = "core docs"; + url = "https://doc.rust-lang.org/1.88.0/core/index.html"; + } + { + name = "verus github"; + url = "https://github.com/verus-lang/verus"; + } + ]; + } + { + name = "cal"; + url = "https://calendar.google.com/"; + } + { + name = "performance"; + url = "about:processes"; + } + ]; + } + ]; + }; settings = { ### This is all aesthetic stuff # for tiling window managers expands to the size of the window From 72cbc7b54a62846aa800cbdd2f55c68a45880d16 Mon Sep 17 00:00:00 2001 From: Jake Ginesin Date: Mon, 13 Oct 2025 21:04:49 -0400 Subject: [PATCH 09/13] generation 527 25.11.20250714.62e0f05 --- flake.lock | 17 +++++++++++++++++ flake.nix | 3 +++ 2 files changed, 20 insertions(+) diff --git a/flake.lock b/flake.lock index 32f67f0..90ee537 100644 --- a/flake.lock +++ b/flake.lock @@ -155,6 +155,22 @@ "type": "github" } }, + "nixpkgs-signal": { + "locked": { + "lastModified": 1750111231, + "narHash": "sha256-3a7Tha/RwYlzH/v3PJrG7+HjOj4c6YOv2K8sqdGsHVQ=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "e6f23dc08d3624daab7094b701aa3954923c6bbb", + "type": "github" + }, + "original": { + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "e6f23dc08d3624daab7094b701aa3954923c6bbb", + "type": "github" + } + }, "nixpkgs-stable": { "locked": { "lastModified": 1751274312, @@ -210,6 +226,7 @@ "home-manager": "home-manager_2", "nixpkgs": "nixpkgs_2", "nixpkgs-clisp": "nixpkgs-clisp", + "nixpkgs-signal": "nixpkgs-signal", "verus-flake": "verus-flake" } }, diff --git a/flake.nix b/flake.nix index 84629bf..aa4bf2a 100644 --- a/flake.nix +++ b/flake.nix @@ -16,6 +16,7 @@ }; nixpkgs-clisp.url = "github:NixOS/nixpkgs/da320e5472f021b96a883f71fc525ca0e4815273"; + nixpkgs-signal.url = "github:NixOS/nixpkgs/e6f23dc08d3624daab7094b701aa3954923c6bbb"; verus-flake.url = "github:JakeGinesin/verus-flake"; }; @@ -26,6 +27,7 @@ agenix, emacs-overlay, nixpkgs-clisp, + nixpkgs-signal, verus-flake, } @ inputs: let system = "x86_64-linux"; @@ -43,6 +45,7 @@ emacs-overlay.overlay (final: _prev: { clisp = nixpkgs-clisp.legacyPackages.${system}.clisp; + signal-desktop = nixpkgs-signal.legacyPackages.${system}.signal-desktop; }) ]; environment.systemPackages = [ From da70ddd7126e76631d762a393e625da150f1c2fa Mon Sep 17 00:00:00 2001 From: Jake Ginesin Date: Mon, 13 Oct 2025 21:09:43 -0400 Subject: [PATCH 10/13] generation 529 25.11.20250714.62e0f05 --- flake.lock | 8 ++++---- flake.nix | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index 90ee537..8c1762f 100644 --- a/flake.lock +++ b/flake.lock @@ -157,17 +157,17 @@ }, "nixpkgs-signal": { "locked": { - "lastModified": 1750111231, - "narHash": "sha256-3a7Tha/RwYlzH/v3PJrG7+HjOj4c6YOv2K8sqdGsHVQ=", + "lastModified": 1748124733, + "narHash": "sha256-y7OLqUkEb0Leg/eZCO5/AQh1u5byAnMEj13OMIJ6Uqo=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "e6f23dc08d3624daab7094b701aa3954923c6bbb", + "rev": "4684fd6b0c01e4b7d99027a34c93c2e09ecafee2", "type": "github" }, "original": { "owner": "NixOS", "repo": "nixpkgs", - "rev": "e6f23dc08d3624daab7094b701aa3954923c6bbb", + "rev": "4684fd6b0c01e4b7d99027a34c93c2e09ecafee2", "type": "github" } }, diff --git a/flake.nix b/flake.nix index aa4bf2a..32df48f 100644 --- a/flake.nix +++ b/flake.nix @@ -16,7 +16,7 @@ }; nixpkgs-clisp.url = "github:NixOS/nixpkgs/da320e5472f021b96a883f71fc525ca0e4815273"; - nixpkgs-signal.url = "github:NixOS/nixpkgs/e6f23dc08d3624daab7094b701aa3954923c6bbb"; + nixpkgs-signal.url = "github:NixOS/nixpkgs/4684fd6b0c01e4b7d99027a34c93c2e09ecafee2"; verus-flake.url = "github:JakeGinesin/verus-flake"; }; From eda2ab34bda0b2e24d2bdc85a39d2bd0075f034a Mon Sep 17 00:00:00 2001 From: Jake Ginesin Date: Wed, 15 Oct 2025 14:56:09 -0400 Subject: [PATCH 11/13] generation 532 25.11.20250714.62e0f05 --- flake.lock | 8 ++--- flake.nix | 5 ++- home/home.nix | 1 + home/scripts/security/wpcap.sh | 59 ++++++++++++++++++++++++++++++++++ system/services/printing.nix | 22 +++++++++++++ system/services/services.nix | 1 + 6 files changed, 91 insertions(+), 5 deletions(-) create mode 100644 home/scripts/security/wpcap.sh create mode 100644 system/services/printing.nix diff --git a/flake.lock b/flake.lock index 8c1762f..b400f0a 100644 --- a/flake.lock +++ b/flake.lock @@ -157,17 +157,17 @@ }, "nixpkgs-signal": { "locked": { - "lastModified": 1748124733, - "narHash": "sha256-y7OLqUkEb0Leg/eZCO5/AQh1u5byAnMEj13OMIJ6Uqo=", + "lastModified": 1760284886, + "narHash": "sha256-TK9Kr0BYBQ/1P5kAsnNQhmWWKgmZXwUQr4ZMjCzWf2c=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "4684fd6b0c01e4b7d99027a34c93c2e09ecafee2", + "rev": "cf3f5c4def3c7b5f1fc012b3d839575dbe552d43", "type": "github" }, "original": { "owner": "NixOS", "repo": "nixpkgs", - "rev": "4684fd6b0c01e4b7d99027a34c93c2e09ecafee2", + "rev": "cf3f5c4def3c7b5f1fc012b3d839575dbe552d43", "type": "github" } }, diff --git a/flake.nix b/flake.nix index 32df48f..2382dad 100644 --- a/flake.nix +++ b/flake.nix @@ -16,7 +16,10 @@ }; nixpkgs-clisp.url = "github:NixOS/nixpkgs/da320e5472f021b96a883f71fc525ca0e4815273"; - nixpkgs-signal.url = "github:NixOS/nixpkgs/4684fd6b0c01e4b7d99027a34c93c2e09ecafee2"; + + # pin only signal versions jake likes + # this ver includes triple ratchet + nixpkgs-signal.url = "github:NixOS/nixpkgs/cf3f5c4def3c7b5f1fc012b3d839575dbe552d43"; verus-flake.url = "github:JakeGinesin/verus-flake"; }; diff --git a/home/home.nix b/home/home.nix index 69634cb..53359b8 100644 --- a/home/home.nix +++ b/home/home.nix @@ -142,6 +142,7 @@ in { postman nuclei subfinder + hcxtools ] ++ ( with lib; let diff --git a/home/scripts/security/wpcap.sh b/home/scripts/security/wpcap.sh new file mode 100644 index 0000000..71247ba --- /dev/null +++ b/home/scripts/security/wpcap.sh @@ -0,0 +1,59 @@ +#!/bin/bash + +if [[ $EUID -ne 0 ]]; then + echo "This script must be run as root." + exit 1 +fi + +echo """ +██╗ ██╗██████╗ ██████╗ █████╗ ██████╗ +██║ ██║██╔══██╗██╔════╝██╔══██╗██╔══██╗ +██║ █╗ ██║██████╔╝██║ ███████║██████╔╝ +██║███╗██║██╔═══╝ ██║ ██╔══██║██╔═══╝ +╚███╔███╔╝██║ ╚██████╗██║ ██║██║ + ╚══╝╚══╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ +""" + +# if [ -z "$1" ]; then + # echo "Usage: sudo $0 " + # exit 1 +# fi + +INTERFACE=${1:-wlan0} +MON_INTERFACE="${INTERFACE}mon" +CAPTURE_PREFIX="caps" +HASH_FILE="hash.hc22000" + +trap 'echo -e "\nStopping monitor mode on ${MON_INTERFACE}..."; airmon-ng stop ${MON_INTERFACE} > /dev/null 2>&1;' EXIT + +echo "Starting monitor mode on ${INTERFACE}..." +airmon-ng start ${INTERFACE} > /dev/null 2>&1 + +echo -e "\nCapturing handshakes... Press Ctrl+C when you're done.\n" +airodump-ng --write ${CAPTURE_PREFIX} ${MON_INTERFACE} + +echo -e "\nLooking for the latest capture file..." +LATEST_CAP=$(ls -t ${CAPTURE_PREFIX}*.cap 2>/dev/null | head -n 1) + +if [ -z "${LATEST_CAP}" ]; then + echo "Error: No .cap file found. Exiting." + exit 1 +fi + +echo "Converting ${LATEST_CAP} to hash format..." +hcxpcapngtool -o ${HASH_FILE} ${LATEST_CAP} + +echo -e "\nConversion complete. Hash saved to ${HASH_FILE}." +echo "You can now run hashcat, e.g.: hashcat -m 22000 ${HASH_FILE} /path/to/wordlist.txt" + +read -p "Remove capture files (caps-*)? [y/N] " confirm + +if [[ "${confirm,,}" == "y" ]]; then + echo "Cleaning up files..." + rm -f caps-* + echo "Files removed." +else + echo "Keeping capture files." +fi + +echo "Script finished." diff --git a/system/services/printing.nix b/system/services/printing.nix new file mode 100644 index 0000000..80e56e8 --- /dev/null +++ b/system/services/printing.nix @@ -0,0 +1,22 @@ +{ + config, + pkgs, + ... +}: let + printer = "SCS-public"; +in { + services.printing.drivers = with pkgs; [foomatic-db-ppds]; + hardware.printers = { + ensureDefaultPrinter = printer; + # https://computing.cs.cmu.edu/desktop/printing-linux-private + ensurePrinters = [ + { + name = printer; + deviceUri = "lpd://jginesin@scs-print.srv.cs.cmu.edu/${printer}"; + model = + pkgs.foomatic-db-ppds.pname + + "/KONICA_MINOLTA-bizhub_360-Postscript-KONICA_MINOLTA.ppd.gz"; + } + ]; + }; +} diff --git a/system/services/services.nix b/system/services/services.nix index d103904..545329d 100644 --- a/system/services/services.nix +++ b/system/services/services.nix @@ -9,5 +9,6 @@ ./syncthing/default.nix # ./resolved/default.nix (not enabled, in favor of dnsmasq) ./dnsmasq/default.nix + ./printing.nix ]; } From 25d8a36df07d25eceb526e6af909968e3821bdc3 Mon Sep 17 00:00:00 2001 From: Jake Ginesin Date: Wed, 15 Oct 2025 16:12:33 -0400 Subject: [PATCH 12/13] generation 533 25.11.20250714.62e0f05 --- flake.nix | 2 +- home/home.nix | 1 + home/programs/nvim/default.nix | 2 ++ home/programs/nvim/plugins/vimtex.lua | 50 +++++++++++++++++---------- system/services/printing.nix | 1 + 5 files changed, 36 insertions(+), 20 deletions(-) diff --git a/flake.nix b/flake.nix index 2382dad..d5d4fd3 100644 --- a/flake.nix +++ b/flake.nix @@ -17,7 +17,7 @@ nixpkgs-clisp.url = "github:NixOS/nixpkgs/da320e5472f021b96a883f71fc525ca0e4815273"; - # pin only signal versions jake likes + # pin only signal versions jake likes. recall, you must back up .config/Signal when changing this # this ver includes triple ratchet nixpkgs-signal.url = "github:NixOS/nixpkgs/cf3f5c4def3c7b5f1fc012b3d839575dbe552d43"; diff --git a/home/home.nix b/home/home.nix index 53359b8..f98417a 100644 --- a/home/home.nix +++ b/home/home.nix @@ -119,6 +119,7 @@ in { sage yq semgrep + tectonic # texlive.combined.scheme-full # security diff --git a/home/programs/nvim/default.nix b/home/programs/nvim/default.nix index 1c83931..405c611 100644 --- a/home/programs/nvim/default.nix +++ b/home/programs/nvim/default.nix @@ -31,6 +31,8 @@ black nodejs_22 latexrun + tectonic + texpresso # gh ]; diff --git a/home/programs/nvim/plugins/vimtex.lua b/home/programs/nvim/plugins/vimtex.lua index b7b0d66..da6f509 100644 --- a/home/programs/nvim/plugins/vimtex.lua +++ b/home/programs/nvim/plugins/vimtex.lua @@ -3,9 +3,10 @@ vim.cmd("filetype plugin indent on") vim.cmd("syntax enable") -- Viewer options: either with a built-in viewer method or with a generic interface. -vim.g.vimtex_view_method = 'zathura' -vim.g.vimtex_view_general_viewer = 'zathura' -vim.g.vimtex_view_general_options = '--unique file:@pdf#src:@line@tex' +-- vim.g.vimtex_view_method = 'zathura' +-- vim.g.vimtex_view_general_viewer = 'zathura' +-- vim.g.vimtex_view_general_options = '--unique file:@pdf#src:@line@tex' + -- Set the TeX flavor and quickfix mode. vim.g.tex_flavor = 'latex' @@ -13,27 +14,38 @@ vim.g.vimtex_quickfix_mode = 0 vim.g.vimtex_quickfix_enabled = 0 -- Compiler backend. -vim.g.vimtex_compiler_method = 'latexmk' +-- vim.g.vimtex_compiler_method = 'latexmk' +vim.g.vimtex_quickfix_autoclose_after_keystrokes = 3 +vim.g.vimtex_compiler_method = "tectonic" +vim.g.vimtex_compiler_tectonic = { + options = { + "--keep-intermediates", -- faster compile times + "--keep-logs", + "--synctex", + "-Z shell-escape", + -- "-Z deterministic-mode", -- breaks synctex + }, +} -- Set the local leader (default is "\"; here we change it to comma). vim.g.maplocalleader = ',' -- Configure warnings to ignore. -vim.g.Tex_IgnoredWarnings = [[ -Package hyperref Warning -Token not allowed in a PDF string (Unicode) -removing math shift -removing superscript -Underfull -Overfull -specifier changed to -You have requested -Missing number, treated as zero. -There were undefined references -Citation %.%# undefined -Double space found. -]] -vim.g.Tex_IgnoreLevel = 8 +-- vim.g.Tex_IgnoredWarnings = [[ +-- Package hyperref Warning +-- Token not allowed in a PDF string (Unicode) +-- removing math shift +-- removing superscript +-- Underfull +-- Overfull +-- specifier changed to +-- You have requested +-- Missing number, treated as zero. +-- There were undefined references +-- Citation %.%# undefined +-- Double space found. +-- ]] +-- vim.g.Tex_IgnoreLevel = 8 -- Delete extra compilation files when a TeX buffer is deleted. vim.api.nvim_create_autocmd("BufDelete", { diff --git a/system/services/printing.nix b/system/services/printing.nix index 80e56e8..2a4dd8a 100644 --- a/system/services/printing.nix +++ b/system/services/printing.nix @@ -6,6 +6,7 @@ printer = "SCS-public"; in { services.printing.drivers = with pkgs; [foomatic-db-ppds]; + # print with lp hardware.printers = { ensureDefaultPrinter = printer; # https://computing.cs.cmu.edu/desktop/printing-linux-private From c824b8d57a5e37ce865043f378b391de1cfec7f8 Mon Sep 17 00:00:00 2001 From: Jake Ginesin Date: Wed, 15 Oct 2025 16:15:52 -0400 Subject: [PATCH 13/13] generation 534 25.11.20250714.62e0f05 --- home/programs/nvim/plugins/vimtex.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home/programs/nvim/plugins/vimtex.lua b/home/programs/nvim/plugins/vimtex.lua index da6f509..ef5811b 100644 --- a/home/programs/nvim/plugins/vimtex.lua +++ b/home/programs/nvim/plugins/vimtex.lua @@ -3,9 +3,9 @@ vim.cmd("filetype plugin indent on") vim.cmd("syntax enable") -- Viewer options: either with a built-in viewer method or with a generic interface. --- vim.g.vimtex_view_method = 'zathura' --- vim.g.vimtex_view_general_viewer = 'zathura' --- vim.g.vimtex_view_general_options = '--unique file:@pdf#src:@line@tex' +vim.g.vimtex_view_method = 'zathura' +vim.g.vimtex_view_general_viewer = 'zathura' +vim.g.vimtex_view_general_options = '--unique file:@pdf#src:@line@tex' -- Set the TeX flavor and quickfix mode.