mirror of
https://github.com/nmasur/dotfiles
synced 2025-04-24 10:22:24 +00:00
Compare commits
4 Commits
db051a737e
...
fecd66465d
Author | SHA1 | Date | |
---|---|---|---|
|
fecd66465d | ||
|
9b0d363909 | ||
|
400d45df39 | ||
|
634805d36d |
@ -16,7 +16,6 @@
|
||||
unfreePackages = [
|
||||
(lib.mkIf config._1password.enable "onepassword-password-manager")
|
||||
"okta-browser-plugin"
|
||||
"wappalyzer"
|
||||
];
|
||||
|
||||
home-manager.users.${config.user} = {
|
||||
|
@ -31,6 +31,10 @@ STATUS=$?
|
||||
# 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
|
||||
# /tmp/ocr.txt.txt
|
||||
cd /tmp || {
|
||||
echo "Failed to jump to directory."
|
||||
exit 1
|
||||
}
|
||||
tesseract "$IMAGE_FILE" "${TEXT_FILE//\.txt/}"
|
||||
|
||||
# Check if the text was detected by checking number
|
||||
|
@ -130,10 +130,7 @@
|
||||
"com.apple.dock" = {
|
||||
magnification = true;
|
||||
largesize = 48;
|
||||
persistent-apps = let
|
||||
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 [
|
||||
persistent-apps = [
|
||||
"/Applications/1Password.app"
|
||||
"${pkgs.slack}/Applications/Slack.app"
|
||||
"/System/Applications/Calendar.app"
|
||||
|
@ -16,6 +16,7 @@
|
||||
mpv # Video player
|
||||
gnupg # Encryption
|
||||
awscli2
|
||||
ssm-session-manager-plugin
|
||||
awslogs
|
||||
google-cloud-sdk
|
||||
vault-bin
|
||||
|
Loading…
x
Reference in New Issue
Block a user