Need to modularize darwin config folder #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently, I'm managing macOS system configuration in one big file, namely
configuration.nix
.It was mandatory at first, when the code's footprint is small enough, thus, it is more reasonable to manage it in one file.
However, become now, my configuration files starts to be too ambitious so that other individual modules like
home-manager
engrossed within it, as a result, the time it consumes to reflect tiny patches triggers whole process, notably logically irrelevant part also get evaluated and refreshed along with.I might have to decompose
home-manager
fromnix-darwin
, since the inherit characteristics of each are quite different; and it will effectively reduce the time and effort to manage my own configuration files.Other than that, I need to adopt modules file system as that of
nix-darwin
itself. I have to search through whether I can override the default modules as that ofDoom Emacs
system.I know that the author of
Doom Emacs
admires and enjoysnix
's philosophy, it is very likelynix-darwin
also supports that feature.