1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00
Commit graph

803 commits

Author SHA1 Message Date
Daiderd Jordan
2fce9974b6
Merge pull request #147 from eraserhd/autossh
port autossh service from nixos
2019-07-02 19:11:24 +02:00
Jason Felice
26c6e5f758 port autossh service from nixos 2019-07-02 10:44:34 -04:00
Daiderd Jordan
2ee34a1d24
travis: add workaround for install test
This shouldn't be necessary and is probably a bug.
2019-07-02 00:25:43 +02:00
Daiderd Jordan
a5e3dbb8a4
launchd: don't disable services when unloading 2019-07-01 23:44:21 +02:00
Daiderd Jordan
462a17b1f1
installer: detect multi-user install 2019-07-01 23:02:29 +02:00
Daiderd Jordan
bbedef2143
darwin-rebuild: fix check 2019-07-01 22:42:44 +02:00
Daiderd Jordan
4bffc92b7a
nix: check nix.useDaemon value
This case will cause problems when existing files in /etc are replaced
instead of skipped with a warning, potentially breaking the nix install
in the process.
2019-07-01 22:37:03 +02:00
Daiderd Jordan
8c2b25e60d
nix: fix useDaemon conditions
The nix.useDaemon option enables using a multi-user install without
managing the nix installation with nix-darwin.  The following checks
apply to both cases.
2019-07-01 21:24:29 +02:00
Daiderd Jordan
2415dd6e42
Merge pull request #148 from domenkozar/patch-1
darwin-installer: use --show-trace
2019-07-01 21:06:54 +02:00
Domen Kožar
48a9159b35
darwin-installer: use --show-trace
This saved me some debugging
2019-06-25 19:50:37 +02:00
Daiderd Jordan
7dec9686fb
Merge pull request #144 from kevingriffin/postgres-character-set
nix-darwin/postgresql: add character set config
2019-06-05 23:28:23 +02:00
Daiderd Jordan
7aa0ad23f4
darwin-rebuild: fix activate without an existing profile 2019-06-05 23:23:59 +02:00
Daiderd Jordan
d56312be06
activation-scripts: create /run
In case this was removed or not bootstrapped by the installer.
2019-06-05 23:10:07 +02:00
Daiderd Jordan
24089a93d7
darwin-rebuild: add activate command
This command activates the current system again, mostly useful when the
system was built on another host and substituted.
2019-06-05 22:59:23 +02:00
Daiderd Jordan
ae58eb80d2
nix-script: remove 2019-06-05 21:45:47 +02:00
Daiderd Jordan
7941b13682
version: fix description 2019-06-05 21:45:47 +02:00
Daiderd Jordan
3c4a001d99
nixos-rebuild: change default editor to vi 2019-06-05 21:45:47 +02:00
Daiderd Jordan
71c68087e8
darwin-rebuild: fix quoting 2019-06-05 21:45:46 +02:00
Kevin Griffin
e60725bd3d
postgresql: add character set config
`initdb` expects to read the locale or SQL_ASCII environment
variable to determine the most appropriate character set.
Instead, offer a configuration option.
2019-05-29 17:25:56 +09:00
Daiderd Jordan
8d557721a9
Merge pull request #141 from hercules-ci/hercules-ci-agent
Add hercules-ci-agent
2019-05-28 19:43:22 +02:00
Domen Kožar
642ad98829
hercules-ci-agent: simplify package import 2019-05-17 10:41:39 +07:00
Domen Kožar
bb91a4d6c3
SSL_CERT_FILE -> NIX_SSL_CERT_FILE 2019-05-17 10:22:22 +07:00
Domen Kožar
fb0a1763f5
Add hercules-ci-agent 2019-05-16 15:03:54 +07:00
Daiderd Jordan
3ba909eb2d
version: add default darwinRevision
There's no channel for darwin so this can be unavailable if a tarball or
shallow clone is used.
2019-05-04 21:43:47 +02:00
Daiderd Jordan
61d81e7706
doc: fix module references 2019-05-04 21:23:53 +02:00
Daiderd Jordan
ba29af7ae3
version: include darwin metadata in system label
This makes it possible to trace back what version of both darwin and
nixpkgs the system was built with.
2019-05-04 21:11:49 +02:00
Daiderd Jordan
3da5c1a322
lnl: open up per-user paths in sandbox 2019-05-04 18:37:21 +02:00
Daiderd Jordan
b3e96fdf66
add changelog entry for manual 2019-05-04 16:15:55 +02:00
Daiderd Jordan
3ab430289f
add link to manual and wiki 2019-05-04 16:10:39 +02:00
Daiderd Jordan
422b13681e
Merge pull request #138 from LnL7/manual
doc: add manual
2019-05-04 16:10:19 +02:00
Daiderd Jordan
9bb40a50be
travis: build manpages 2019-05-04 15:46:30 +02:00
Daiderd Jordan
da88e60bca
release.nix: add manual builds 2019-05-04 15:39:32 +02:00
Daiderd Jordan
23d8c6ca3d
documentation: add module for darwin manual
Fixes #72
2019-05-04 15:38:17 +02:00
Daiderd Jordan
b85b9a4206
doc: add manual build for module options 2019-05-04 15:38:01 +02:00
Daiderd Jordan
631fd857aa
modules: add modules-list.nix and baseModules argument 2019-05-04 14:50:22 +02:00
Daiderd Jordan
66495818a3
sandbox: add missing option descriptions 2019-05-04 14:46:24 +02:00
Daiderd Jordan
dc923dbac2
ofborg: fix option descriptions 2019-05-04 14:43:36 +02:00
Daiderd Jordan
2cda9f7113
darwin-option: add support for -I 2019-05-01 13:26:04 +02:00
Daiderd Jordan
d3c46c9442
add changelog entry for NIX_PATH 2019-05-01 13:04:50 +02:00
Daiderd Jordan
58aa5bf185
nix: make nix.nixPath merge by default
Since named entries can be overridden now based on ordering now merging
is only a problem for removing one of the default search paths, in which
case a higher priority eg. mkForce can be used.

	{
	  nix.nixPath = [{ darwin-config = "/darwin.nix"; }];
	}

Will result in

	[ "darwin-config=/darwin.nix" "/nix/var/nix/profiles/per-user/root/channels" "$HOME/.nix-defexpr/channels" ]

Fixes #137
2019-05-01 12:42:31 +02:00
Daiderd Jordan
4d235b800d
nix: allow specifying named NIX_PATH using and attrset
This gives the option nicer merge behaviour, otherwise setting a named
entry multiple times would result in duplicates which can't be resolved
without overriding the entire list.
2019-05-01 12:30:00 +02:00
Daiderd Jordan
51ecc4151f
Merge pull request #135 from marsam/feature/postgresql-plugins
postgresql: Add support for extraPlugins
2019-03-30 10:30:58 +01:00
Daiderd Jordan
66d64a91e6
Merge pull request #136 from marsam/postgres-coreutils-ln
postgresql: Use core `ln` from coreutils
2019-03-30 10:30:08 +01:00
Mario Rodas
6a6d512d40
postgresql: Use core ln from coreutils
Otherwise it fallbacks to /bin/ln which is outdated and might not work.
2019-03-29 07:22:01 -05:00
Mario Rodas
8ee2585c0d
postgresql: Add support for extraPlugins 2019-03-25 14:28:40 -05:00
Daiderd Jordan
2430e72100
Merge pull request #132 from ben-z/add-defaults-configs
Add defaults configs
2019-03-22 20:52:34 +01:00
Daiderd Jordan
af7cd05699
launchd: add basic test for daemons/agents 2019-03-22 20:49:53 +01:00
Daiderd Jordan
b68f77b404
launchd: ensure user LaunchAgents exist
Apparently this doesn't exist by default, so make sure it's created
first.

Fixes #134
2019-03-22 20:48:58 +01:00
Daiderd Jordan
13f2480374
lnl: update reexec aliases 2019-03-20 20:51:35 +01:00
Ben Zhang
f17fb87fab
Add NSGlobalDomain configs 2019-03-02 21:51:13 -08:00