Compare commits

..

4 Commits

Author SHA1 Message Date
Noah Masur
fecd66465d remove wappalyzer completely 2024-03-26 12:01:32 -04:00
Noah Masur
9b0d363909 fix: mac dock persistent-apps now supported directly 2024-03-26 12:01:13 -04:00
Noah Masur
400d45df39 add ssm session manager for aws 2024-03-26 11:21:32 -04:00
Noah Masur
634805d36d fix: ocr file not found errors 2024-03-26 11:17:54 -04:00
4 changed files with 6 additions and 5 deletions

View File

@ -16,7 +16,6 @@
unfreePackages = [ unfreePackages = [
(lib.mkIf config._1password.enable "onepassword-password-manager") (lib.mkIf config._1password.enable "onepassword-password-manager")
"okta-browser-plugin" "okta-browser-plugin"
"wappalyzer"
]; ];
home-manager.users.${config.user} = { home-manager.users.${config.user} = {

View File

@ -31,6 +31,10 @@ STATUS=$?
# because tesseract adds .txt to the given file path anyways. So if we were to # because tesseract adds .txt to the given file path anyways. So if we were to
# specify /tmp/ocr.txt as the file path, tesseract would out the text to # specify /tmp/ocr.txt as the file path, tesseract would out the text to
# /tmp/ocr.txt.txt # /tmp/ocr.txt.txt
cd /tmp || {
echo "Failed to jump to directory."
exit 1
}
tesseract "$IMAGE_FILE" "${TEXT_FILE//\.txt/}" tesseract "$IMAGE_FILE" "${TEXT_FILE//\.txt/}"
# Check if the text was detected by checking number # Check if the text was detected by checking number

View File

@ -130,10 +130,7 @@
"com.apple.dock" = { "com.apple.dock" = {
magnification = true; magnification = true;
largesize = 48; largesize = 48;
persistent-apps = let persistent-apps = [
dockText = app:
"<dict><key>tile-data</key><dict><key>file-data</key><dict><key>_CFURLString</key><string>${app}</string><key>_CFURLStringType</key><integer>0</integer></dict></dict></dict>";
in map dockText [
"/Applications/1Password.app" "/Applications/1Password.app"
"${pkgs.slack}/Applications/Slack.app" "${pkgs.slack}/Applications/Slack.app"
"/System/Applications/Calendar.app" "/System/Applications/Calendar.app"

View File

@ -16,6 +16,7 @@
mpv # Video player mpv # Video player
gnupg # Encryption gnupg # Encryption
awscli2 awscli2
ssm-session-manager-plugin
awslogs awslogs
google-cloud-sdk google-cloud-sdk
vault-bin vault-bin