aboutsummaryrefslogtreecommitdiff
path: root/macos.local/.flake/home/scripts/remove-quarantine.nix.org
diff options
context:
space:
mode:
authorjjanzen <jjanzen@jjanzen.ca>2025-01-08 17:24:21 -0600
committerjjanzen <jjanzen@jjanzen.ca>2025-01-08 17:24:21 -0600
commita75b69b88f967e6271d75a1bc122da0b2e4eeece (patch)
tree20b7fb1bec30f68e61846c45a481bee174f4af9f /macos.local/.flake/home/scripts/remove-quarantine.nix.org
parenta1cbc273fb92c69ea1b8534f6ef6064b5da40e31 (diff)
system changes
Diffstat (limited to 'macos.local/.flake/home/scripts/remove-quarantine.nix.org')
-rw-r--r--macos.local/.flake/home/scripts/remove-quarantine.nix.org24
1 files changed, 0 insertions, 24 deletions
diff --git a/macos.local/.flake/home/scripts/remove-quarantine.nix.org b/macos.local/.flake/home/scripts/remove-quarantine.nix.org
deleted file mode 100644
index fa8d882..0000000
--- a/macos.local/.flake/home/scripts/remove-quarantine.nix.org
+++ /dev/null
@@ -1,24 +0,0 @@
-#+title: Remove Quarantine
-
-macOS likes putting applications in quarantine without me wanting. This script removes an application from the quarantine.
-#+begin_src nix
- { config, pkgs, ... }:
-
- {
- home.file."./.local/bin/remove-quarantine" = {
- executable = true;
- text = ''
-#+end_src
-
-Remove the app from quarantine by recursively deleting the quarantine attribute on the application.
-#+begin_src sh
- #!/bin/sh
- /usr/bin/xattr -dr com.apple.quarantine "$@"
-#+end_src
-
-Close the block.
-#+begin_src nix
- '';
- };
- }
-#+end_src