aboutsummaryrefslogtreecommitdiff
path: root/scripts/install-darwin-multi-user.sh
AgeCommit message (Collapse)Author
2021-10-12darwin-install: fix incorrect fn nameTravis A. Everett
2021-09-21fix install on macOS montereyTravis A. Everett
2021-08-24Try setting enableOwnership in macOS installMatthew Bauer
For external hard disks where ownership is not enabled by default.
2021-04-29darwin: encrypt nix volume if filevault is enabledTravis A. Everett
2021-03-11fix nixbld user name/uid for macOSTravis A. Everett
2020-10-19fix skipped multi-user install steps on macOSTravis A. Everett
Some of the changes in #3788 to support non-systemd Nix installs don't appear to be aware that the darwin installer exists, which resulted in some skipped steps and inappropriate instructions.
2019-10-08Copy instead of linking launch agentMatthew Bauer
On Catalina, the /nix filesystem might not be mounted at start time. To avoid this service not starting, we need to keep the launch agent outside of the Nix store. A wait4pid will hold for our /nix dir to be mounted. Fixes #3125.
2018-03-29Expand the multi-user installer to support Linuxes with systemdGraham Christensen
- darwin installer: delete hardware report, not necessary - moves os-specific code from the darwin installer to to `poly_*` functions - adds profile.d support to the profile targets, which automatically handles many distros which don't have a /etc/bashrc but do have an /etc/profile.d - /bin/bash -> /usr/bin/env bash - document why each excluded shellcheck check is excluded - rename the multi-user to Daemon-based
2018-02-13Merge pull request #1775 from LnL7/darwin-build-usersEelco Dolstra
installer: create 'enough' build users
2018-01-29solves #1582Giorgio Gallo
2018-01-12Remove extra space.Peter Stuart
2018-01-03installer: create 'enough' build usersDaiderd Jordan
2018-01-03installer: don't touch /etc/profileDaiderd Jordan
The default profile already loads /etc/bashrc.
2017-12-20Fix escaping, fixes buildFrederik Rietdijk
2017-12-08replace lolcat with nix-infoGraham Christensen
2017-12-08darwin installer: fix on High SierraGraham Christensen
2017-11-20install-darwin-multi-user.sh: Remove superfluous nix.conf settingsEelco Dolstra
2017-10-12Merge pull request #1591 from shlevy/darwin-installer-no-sudo-iEelco Dolstra
darwin installer: Fix on systems where sudo -i is disabled.
2017-10-05darwin installer: Fix on systems where sudo -i is disabled.Shea Levy
2017-10-02install-darwin-multi-user: relax assumption checkAnthony Cowley
The installer will error out if a user's shell configuration includes any mention of ~nix-profile~, even if this is in a comment. This change is designed to do the bare minimum to ignore lines beginning with a `#`.
2017-08-31Rename a few configuration optionsEelco Dolstra
In particular, drop the "build-" and "gc-" prefixes which are pointless. So now you can say nix build --no-sandbox instead of nix build --no-build-use-sandbox
2017-07-14Rename PINCH_ME_IM_SILLY to ALLOW_PREEXISTING_INSTALLATIONGraham Christensen
2017-07-14If there is no TTY, also skip verbose sudo messagesGraham Christensen
2017-07-14Ensure PINCH_ME_IM_SILLY allows a /nix/store to stick around between buildsGraham Christensen
Also output in the status report that the user is very silly
2017-07-14Assume yes if we have no TTYGraham Christensen
Starve the TTY of input to ensure this works, but provide yes to the current installer to handle the current broken case.
2017-07-14Address feedback around printf & execGraham Christensen
2017-07-14Don't install a second nix after the initial installation, and the rsync ↵Graham Christensen
change fixes a bug hidden by the nix replacement where the store files were being owned by the installing user due to rsync's -a implying -og.
2017-07-14Clean up issues around uninstall directions, and only showGraham Christensen
relevant directions
2017-07-14Prompt for sudo before validating assumptions, and check ourselves for ↵Graham Christensen
root-owned files instead of making a scary warning.
2017-07-14multi-user install: move the profile in to the nix etc/profiles.d outputGraham Christensen
2017-07-14Switch to a fancy multi-user installer on DarwinGraham Christensen