This commit is contained in:
randomuser 2024-01-24 18:49:26 -06:00
parent 465bac892c
commit 80a23ec536
4 changed files with 16 additions and 5 deletions

View File

@ -18,6 +18,11 @@
thunderbird thunderbird
hue-cli hue-cli
bluetuith bluetuith
brave
vdirsyncer
isync
khal
todoman
]; ];
hardware.bluetooth = { hardware.bluetooth = {

View File

@ -5,6 +5,7 @@
, libxcb , libxcb
# shell scripts stuff # shell scripts stuff
, makeWrapper , makeWrapper
, sshuttle
, sxhkd , sxhkd
, bash , bash
, feh , feh
@ -24,7 +25,7 @@ stdenv.mkDerivation rec {
src = ./utils; src = ./utils;
nativeBuildInputs = [ makeWrapper pkg-config libxcb ]; nativeBuildInputs = [ makeWrapper pkg-config libxcb ];
buildInputs = [ libxcb bash feh xrandr jq curl fzy ytfzf ffmpeg ]; buildInputs = [ libxcb bash feh xrandr jq curl fzy ytfzf ffmpeg sshuttle ];
buildPhase = '' buildPhase = ''
ls ls
@ -37,7 +38,7 @@ stdenv.mkDerivation rec {
for i in $(ls $src/sh); do for i in $(ls $src/sh); do
cp $src/sh/$i $out/bin cp $src/sh/$i $out/bin
ln -sf $out/bin/tmenu_run $out/bin/regenerate ln -sf $out/bin/tmenu_run $out/bin/regenerate
wrapProgram $out/bin/$i --prefix PATH : ${lib.makeBinPath [ sxhkd bash feh xrandr jq figlet curl fzy ytfzf ffmpeg ]} wrapProgram $out/bin/$i --prefix PATH : ${lib.makeBinPath [ sxhkd bash feh xrandr jq figlet curl fzy ytfzf ffmpeg sshuttle ]}
done done
cp c/status/main $out/bin/statusbar cp c/status/main $out/bin/statusbar

5
builds/utils/sh/vpn Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
# a poor man's vpn
ip=$(dig +short beepboop.systems)
sshuttle --dns -r ryan@$ip:443 0/0

View File

@ -209,12 +209,12 @@
}, },
"locked": { "locked": {
"lastModified": 1, "lastModified": 1,
"narHash": "sha256-5xUIhLgUWLJ08JmAOugcD2ut0pNNDzoBOJmcoHA5yAg=", "narHash": "sha256-Q/utpukYR3ZDNlXzUFtDrlmLDfusxdseH6THPh9JrQc=",
"path": "/nix/store/dz347nzxk63b999sm3cb7k450f90xzlq-source/builds", "path": "/nix/store/6c7g2njv4c637rnhc7vxqvk9xcbq9ghf-source/builds",
"type": "path" "type": "path"
}, },
"original": { "original": {
"path": "/nix/store/dz347nzxk63b999sm3cb7k450f90xzlq-source/builds", "path": "/nix/store/6c7g2njv4c637rnhc7vxqvk9xcbq9ghf-source/builds",
"type": "path" "type": "path"
} }
}, },