Daiderd Jordan
f8353f2336
nix: remove redundant user check
2018-01-17 00:36:38 +01:00
Daiderd Jordan
4747989bc6
installer: test activation on travis
2018-01-16 20:43:11 +01:00
Daiderd Jordan
2a271720d0
add single user warning to changelog
2018-01-16 20:41:57 +01:00
Daiderd Jordan
53517162da
nix: fix daemon check, only set if store is not writable
...
Fixes issues for a single-user install introduced in
9792b08fdf
.
2018-01-16 20:32:29 +01:00
Daiderd Jordan
d8380cdd80
users: test isHidden = false;
2018-01-16 00:58:13 +01:00
Daiderd Jordan
ed29ade5ce
add uninstall section to the manual
2018-01-16 00:58:13 +01:00
Daiderd Jordan
3d7bad57b2
lnl: add rev-nixpkgs helper
2018-01-16 00:58:13 +01:00
Daiderd Jordan
64a46b7164
uninstaller: add header
2018-01-16 00:58:13 +01:00
Daiderd Jordan
02725e220a
installer: fix editor check
2018-01-16 00:58:12 +01:00
Daiderd Jordan
e2acb8f82a
uninstaller: run on travis
2018-01-15 08:51:04 +01:00
Daiderd Jordan
bd220c453d
launchd: unlink services
2018-01-15 08:51:03 +01:00
Daiderd Jordan
6e42f63784
uninstaller: init
2018-01-15 01:12:26 +01:00
Daiderd Jordan
86fe053806
darwin: include nix in PATH
...
This makes rollbacks more reliable, previously you had to fix your PATH
before calling darwin-rebuild. This works now:
$ /nix/var/nix/profiles/system-866-link/sw/bin/darwin-rebuild switch -G 866
2018-01-14 22:24:36 +01:00
Daiderd Jordan
29f9fb52b3
activation-scripts: include system in PATH
...
This makes rollback more reliable by using the same version of tools
that where used previously. For example nix is used during the
activation checks.
2018-01-14 22:02:27 +01:00
Daiderd Jordan
ca1678c06c
release: show system path in tests
2018-01-14 21:17:25 +01:00
Daiderd Jordan
d6e85130f4
examples: add zsh/fish options
2018-01-14 19:31:48 +01:00
Daiderd Jordan
d44ac23e06
update README with installer instructions
2018-01-14 19:29:30 +01:00
Daiderd Jordan
ac238d0323
installer: ask to edit configuration before installing
...
This is skipped when stdin is not a tty, unlike the other interactive
parts that look at stdout.
2018-01-14 19:08:02 +01:00
Daiderd Jordan
d31dbefca7
installer: configure build users
2018-01-14 17:18:10 +01:00
Daiderd Jordan
4e0ddf3061
users: add option to configure nixbld users.
2018-01-14 16:58:09 +01:00
Daiderd Jordan
1ba19da50d
users: make users hidden by default
2018-01-14 16:45:43 +01:00
Daiderd Jordan
937bf1e83c
nix: add note about multi-user installs for distributed builds
2018-01-14 16:08:27 +01:00
Daiderd Jordan
46d6951fd2
activation-scripts: add test for pre/post hooks
2018-01-14 16:08:27 +01:00
Daiderd Jordan
e9cbcbb549
installer: test on travis
2018-01-14 16:07:47 +01:00
Daiderd Jordan
d107dfbc3a
installer: move /run creation
2018-01-14 16:07:46 +01:00
Daiderd Jordan
850dc95145
installer: fix patch
2018-01-14 16:07:46 +01:00
Daiderd Jordan
04ed74ca63
hydra: make user a member of the hydra group
...
The trusted-users setting works based on group membership, the primary
group id doesn't matter.
2018-01-14 13:31:58 +01:00
Daiderd Jordan
ca420b2f9e
users: add test for group membership
2018-01-14 13:31:15 +01:00
Daiderd Jordan
b1645201f1
users: add support for group members
...
Unlike user options this is updated if the group already exists.
2018-01-14 13:26:18 +01: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
977ed04a60
installer: setup /run
2018-01-13 23:33:27 +01:00
Daiderd Jordan
9dd2d679cb
installer: add --check flag
2018-01-13 23:33:27 +01:00
Daiderd Jordan
32481b542b
installer: init
2018-01-13 23:33:27 +01:00
Daiderd Jordan
335baf7936
add users to README
2018-01-13 23:28:11 +01:00
Daiderd Jordan
37a8e52746
add users.users entry to changelog
2018-01-13 23:22:47 +01:00
Daiderd Jordan
08dd63a119
hydra: fix user creation
2018-01-13 23:16:39 +01:00
Daiderd Jordan
5250bc0f69
users: remove enable option
2018-01-13 22:59:34 +01:00
Daiderd Jordan
243651e398
checks: add test for /run
2018-01-13 22:50:48 +01:00
Daiderd Jordan
f6b9e43a84
checks: add /etc/profile check from bootstrap script
2018-01-13 19:45:57 +01:00
Daiderd Jordan
8bffb9877e
hydra: use users module
2018-01-13 18:29:20 +01:00
Daiderd Jordan
f6a72d972b
hydra: fix example
2018-01-13 18:20:52 +01:00
Daiderd Jordan
59421c7d76
nix: add to systemPackages when nix.package is set
2018-01-13 18:18:48 +01:00
Daiderd Jordan
ad3891f07a
etc: skip warning when target has references to /etc/static
2018-01-13 18:10:48 +01:00
Daiderd Jordan
174a36a296
activation: rename pre/post hooks
...
Renamed extraPostActivation and extraUserPostActivation.
2018-01-13 17:12:02 +01:00
Daiderd Jordan
789623213e
checks: impure darwin-config error message
2018-01-13 15:40:07 +01:00
Daiderd Jordan
849cf9edc4
simple: update example
2018-01-13 14:56:49 +01:00
Daiderd Jordan
ed72bf6409
bash: don't setup environment in a nix-shell
2018-01-13 14:51:36 +01:00
Daiderd Jordan
bf72128177
toplevel: don't depend on NIX_PATH for the CHANGELOG
2018-01-13 14:20:13 +01:00
Daiderd Jordan
535701cb7f
users: update test for user creation/deletion
2018-01-13 14:04:38 +01:00