zhujun
2ef552b4d0
tmux: clear __NIX_DARWIN_SET_ENVIRONMENT_DONE
...
This is necessary to allow shell sessions inside tmux having a chance to
set environment properly
2019-11-01 13:37:18 +08:00
Daiderd Jordan
da52dc006c
lnl: load :u packages in current instead of a subshell
2019-09-24 00:27:53 +02:00
Robert Hensing
f55fca00b3
Revert "Add hercules-ci-agent"
...
This reverts commit fb0a1763f5
.
Reason: this implementation of the module is outdated and broken.
We recommend to follow instructions in the web app or
https://docs.hercules-ci.com
2019-09-10 15:50:19 +02:00
Daiderd Jordan
d6a3aead15
Merge pull request #159 from marsam/remove-types-string
...
modules: remove usages of types.string
2019-09-01 10:10:15 +02:00
Daiderd Jordan
be7f25b3f9
Merge pull request #155 from toonn/defaults-write-GlobalPreferences
...
Add defaults write for the alert sound
2019-09-01 09:58:01 +02:00
Daiderd Jordan
eb2812d669
Merge pull request #154 from eraserhd/keyboard-fnState
...
Allow configuring external keyboard to use standard F-keys
2019-09-01 09:57:38 +02:00
Mario Rodas
2807a31f95
modules: remove usages of types.string
2019-08-31 04:20:00 -05:00
toonn
88d27c62d5
Add defaults write for the alert sound
...
Found in `System Preferences`->`Sound`->`Sound Effects`, the default is `Funk`.
2019-08-19 16:02:59 +02:00
Daiderd Jordan
ef3d6e4354
lnl: remove default sandbox
2019-07-29 21:28:35 +02:00
Daiderd Jordan
21c2ffdda9
lnl: remove chunkwm dummy
2019-07-29 21:28:35 +02:00
Jason Felice
c3d9dceede
Allow configuring external keyboard to use standard F-keys
2019-07-22 11:05:48 -04:00
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
a5e3dbb8a4
launchd: don't disable services when unloading
2019-07-01 23:44:21 +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
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
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
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
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
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
23d8c6ca3d
documentation: add module for darwin manual
...
Fixes #72
2019-05-04 15:38:17 +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
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
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
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
Ben Zhang
a08546158d
add trackpad configs: ActuationStrength, FirstClickThreshold, SecondClickThreshold
2019-03-02 21:50:48 -08:00
Daiderd Jordan
d00d00998e
darwin: replace usages of nix-instantiate --eval with --find-file
2019-02-24 22:27:41 +01:00
Wael M. Nasreddine
41a00f14b4
users: gate the creation with an option, false by default and use createhomedir
2019-02-24 22:13:45 +01:00
Wael M. Nasreddine
7c68f69154
users: create/chown the home only when it is different than /var/empty
2019-02-24 22:06:45 +01:00
Wael M. Nasreddine
303c5fbb00
users: create the home-directory for a new user
2019-02-24 22:06:37 +01:00
Daiderd Jordan
6c6c8f2164
users.users: only extend profiles if packages are defined
2019-02-23 12:00:39 +01:00
Daiderd Jordan
ece03c592e
Merge pull request #127 from kalbasit/nix-darwin_user-packages
...
users: install user packages via users.users.<name?>.packages
2019-02-23 11:45:40 +01:00
Daiderd Jordan
c48c4c701a
Merge pull request #121 from thefloweringash/channel-version-info
...
system-version: get version information from channels
2019-02-23 11:35:52 +01:00
Wael M. Nasreddine
5e6570c07c
order the environment
2019-02-21 15:57:51 -08:00