Commit graph

26 commits

Author SHA1 Message Date
Daiderd Jordan
9bfadc9244
Merge pull request #172 from treffynnon/patch-3
[bootstrap.sh] Moves build & rebuild to after user creation
2019-11-02 16:53:59 +01:00
Simon Holywell
983dce6d70
Moves build & rebuild to after user creation
If the users do not already exist then installers who already have a configuration containing

```nix
services.nix-daemon.enable = false;
```

will not be able to complete an initial bootstrap on a clean machine. This is because the bootstrap script currently only creates users after an initial rebuild.

The users must exist before the rebuild is completed or the whole thing fails.
2019-10-30 15:11:00 +10:00
Simon Holywell
13a46bfad4
Fixes one character typo in bootstrap.sh 2019-10-30 14:48:09 +10:00
Daiderd Jordan
f0e4aabb78
bootstrap: remove profile patch 2018-01-14 01:53:57 +01:00
Daiderd Jordan
bfac6569ab
bootstrap: add fix for /etc/profile
Also skip channel creation if <darwin> is already configured.
2018-01-13 23:46:55 +01:00
Daiderd Jordan
f6b9e43a84
checks: add /etc/profile check from bootstrap script 2018-01-13 19:45:57 +01:00
Daiderd Jordan
9b955c2e4d
bootstrap: increase build users to 32 2018-01-04 21:46:16 +01:00
Daiderd Jordan
8bf46112d8
bootstrap: add warning for /etc/profile 2018-01-03 23:03:36 +01:00
Daiderd Jordan
c08fa97307
bootstrap: enable re-bootstrapping after a system upgrade 2017-10-06 22:44:59 +02:00
Greg Pfeil
f2589f497e Use the correct path for the darwin channel.
Also, only `echo` that the example configuration is being copied when it’s
actually being copied.
2017-09-17 12:17:37 -06:00
Daiderd Jordan
81fb224167
bootstrap: use channel for example configuration
Fixes #41
2017-09-13 23:11:52 +02:00
Daiderd Jordan
184e9f34be
nix: include user channels in NIX_PATH 2017-09-06 23:39:15 +02:00
Daiderd Jordan
876b962c86
bootstrap: add reminder to start a new shell 2017-07-23 14:11:22 +02:00
Daiderd Jordan
30ebdeee6e
bootstrap: add option to configure bashrc 2017-07-23 14:09:05 +02:00
Daiderd Jordan
d0850bcfbe
bootstrap: check nixbld group before asking 2017-07-23 13:50:02 +02:00
Daiderd Jordan
c5a81146dc
bootstrap: remove upgrade step
nix always builds with libsodium support now
2017-07-23 13:45:07 +02:00
Daiderd Jordan
b09fdc4f2f
bootstrap: add channel as root 2017-07-23 13:39:40 +02:00
Daiderd Jordan
e6fe26417f
bootstrap: fix indentation 2017-07-23 13:36:57 +02:00
Daiderd Jordan
0ef2374531
bootstrap: remove set -e 2017-06-04 13:06:37 +02:00
Daiderd Jordan
5638925939
readme: add install instructions for bootstrap script 2017-06-03 11:24:48 +02:00
Daiderd Jordan
310ec89642
bootstrap: use nix-channel 2017-06-03 11:02:27 +02:00
Daiderd Jordan
4c6d8dc3a6
bootstrap: remove -shell flag for sysadminctl
Fixes creation of build users on 10.11
2017-06-03 10:56:24 +02:00
cmacrae
30ae060482 boostrap: Prompt for sudo in create_daemon_users if non-interactive 2017-06-02 15:43:38 +01:00
cmacrae
7075538f7e bootstrap: build user options/fetch repo with nix-prefetch-url 2017-06-01 22:59:39 +01:00
cmacrae
bfb6ae05aa bootstrap: keep echo consistent 2017-06-01 22:58:09 +01:00
cmacrae
a021f639c1 bootstrap: initial commit 2017-05-31 21:08:36 +01:00