This commit isn't cherry-picked from upstream. Instead, the
.editorconfig file was copied as-is from the upstream PR. Then,
`eclint -fix .` was ran to make everything conform to editorconfig. This
should be identical in impact, but it saves a lot of headache from
resolving useless merge conflicts.
Upstream-PR: https://github.com/DeterminateSystems/nix-installer/pull/1182
Change-Id: I22f03d18b3d685ff16b08bf8df0720e0f796d501
When detsys-specific items were removed, some lines of JSON were
removed. This caused syntax errors due to the trailing commas.
Also use this opportunity to add `enable_flakes`, which is required
in new lix-installer plan files
Change-Id: I7874b3b19cb2e15f82b0733894c52b3a23c0cbe5
* Make nix.conf changes deterministic
* Add mac fixture
* Warn/error if user settings don't match our needs
* Repair mac fixture
* fmt
* clipster
* Tidy up some feedback
* fmt
* resolve some nits
* Handle a MacOS service being disabled during bootstrap
* Handle service disabled in configure_init_service
* Fixup missed line
* Fix import
* Don't deref pointer
* Tweak detection and re-enablement
* Add time machine exclusions for Mac
* Prod CI
* Stub out mac test for a remote build
* Add plan changes
* wip
* Move the exclusions to be later
* Fixups
* Use pathbufs
* Import pathbuf
* Update test plans
* Handle the APFS volume not existing but the Service and Fstab being present
* Add handling if we need to bootout the service
* Spelling
* Rename enum
* Include user index in the user comment
If they're all called "Nix build user", anywhere that shows up without
the uid / username would make it difficult to diagnose any issues that
may occur.
* Create users 1-32 instead of 0-31
The official install scripts start at 1 as well.
* Update fixtures
Yes, I hand-edited the macos json, sue me.
* fixup: accept a comment, not the index
* fixup: comment, not index
* wip
* Do main editing portion
* Some more curing on fstab entries
* Overwrite fstab instead of append
* Add newline
* Improve --explain output for CreateNixVolume
* Tweak some permissions
* Fixup a few more permissions spots
* Improve encrypted volume handling
* Handle APFS volumes existing already to some degree
* Correct speeling
* More tweaking preparing for bootstrap/kickstart work
* Most of volume curing works
* Make kickstart use domain/service too
* Fixup nits
* Fix a missing format!
* Curing existing /nix
* Fixup macs
* Suggest an uninstall command if the binary is not present
* Fixup some nits
* Skip a not great suggestion
* Suggest a nice url