SwiftDefaultApps
nix-darwin
SwiftDefaultApps | nix-darwin | |
---|---|---|
18 | 39 | |
1,382 | 2,283 | |
- | - | |
3.3 | 8.7 | |
2 months ago | 4 days ago | |
Swift | Nix | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
SwiftDefaultApps
-
Ask HN: How to prevent Safari from opening Mail on Cmd-I?
holy shit, that works!
Use https://github.com/Lord-Kamina/SwiftDefaultApps to changing your default mail app to Safari.
Agreed, not quite perfect but at least it doesn't open Mail.
thank you!
- How to tell macOS which app to use certain deep links with
- SwiftDefaultApps
- Can't change "Open with" binding for webloc files in Ventura
-
How can I change default applications through the terminal or in CLI?
I installed RCDefaultApp some time ago and surprisingly it still runs well under Monterey Settings. I don't use it often but when you need to get into default apps then it is great. However it hasn't been updated since 2009 and I don't know where you can get it or even if it will install. This https://github.com/Lord-Kamina/SwiftDefaultApps/releases seems to be more active although I haven't tried it myself.
-
reset default apps back to defaults?
OpenIn can also set itself as the default handler for specific file types. One way to change this is, in the Finder, to locate a file of the target file type (say .txt) and press Cmd-I to get the info screen. There you will see “Open with”. Changing this will change the default handler for that one file. If you want to change the default handler for all files of that type, click “Change All…”. There are other ways to do this as well, probably not worth it if you only have a few file types to update.
-
Is there any alternative to Mac Set Default Apps (MSDA)?
I have also found https://github.com/Lord-Kamina/SwiftDefaultApps but it hasn't been updated since July 2019.
- Edit 'Open With' Apps...?
- Configuring custom URL handlers on OS X
-
how to delete files association after removing Parallels?
I've never used it but you can try https://github.com/Lord-Kamina/SwiftDefaultApps
nix-darwin
- Nix-Darwin: Nix modules for Darwin
-
My MacBook setup (the 2024 version)
Just a shout out to nix-darwin[1]. It is nix, so initial setup is a bit involved. But then it truly makes it easy to configure everything in one place including mac defaults, homebrew apps declaratively and mas apps etc.
There is a sample config in nix-darwin repo[2].
[1] https://github.com/LnL7/nix-darwin
[2] https://github.com/LnL7/nix-darwin/blob/master/modules/examp...
-
macOS Sonoma Broke Grep
https://github.com/LnL7/nix-darwin/tree/master/modules
-
What is the difference between NixOS and any other distro running the nix package manager?
nix-darwin does similar thing for MacOS
-
How to install a library globally using nix-env (or home manager) on macos?
You can use https://github.com/LnL7/nix-darwin
- Nix-Darwin
-
Issues with installing applications on Macos
There are many threads around where you can learn more about this (and why it's complicated...), but https://github.com/nix-community/home-manager/issues/1341 and https://github.com/LnL7/nix-darwin/issues/139 seem like two of the most comprehensive.
-
Zero to Nix, an unofficial, opinionated, gentle introduction to Nix
Nix is pretty usable for both desktops and headless servers. Personally, I even use it on macOS without much trouble.
My system looks like any other install of Ventura, but all of my configuration, ranging from the terminal and VS Code to macOS-specific system preferences and Safari, is done declaratively in Nix [1]. The overwhelming majority of my installed software also comes from Nix packages, with some exceptions for stuff that is not packaged yet (e.g., I have Podman Desktop, the macOS ZFS port, Lulu, yubikey-manager-qt installed through Homebrew -- fortunately nix-darwin [2] also just lets me have an set of brews/casks in my config).
It was been a bit of a nightmare at first since the error messages are kind of horrific, and there can be a lack of good examples/docs on flakes. But I think the weekend worth of time I invested was worth it since I no longer need to rely on hacky shellscripts or remember to manually configure anything.
[1]: <https://github.com/nix-community/home-manager>
[2]: <https://github.com/LnL7/nix-darwin>
-
Beginner Question: Managing the global environment using Nix
Take a look at nix-darwin, this is what I use. It allows you to configure your system similar to NixOS including globally installed programs.
-
How to install Chrome on MacOS without homebrew?
This — I still use mas and brew —-cask through the nix-darwin module, though. It’s not exactly reproducible, but it’s at least closer to reproducible and declarative.
What are some alternatives?
duti - A command-line tool to select default applications for document types and URL schemes on Mac OS X
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
Mac-Set-Default-Apps - A utility to change default applications in macOS
NixOS-docker - DEPRECATED! Dockerfiles to package Nix in a minimal docker container
dotfiles
nix - Nix, the purely functional package manager
strap - 👢 Bootstrap your macOS development system.
nixos-shell - Spawns lightweight nixos vms in a shell
relocatable-python - A tool for building standalone relocatable Python.framework bundles
digga - A flake utility library to craft shell-, home-, and hosts- environments.
pont - pont, the dotmodule manager
NUR - Nix User Repository: User contributed nix packages [maintainer=@Mic92]