1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-06 08:47:00 +00:00
Commit graph

602 commits

Author SHA1 Message Date
Daniel V
d3dff8cefb This fixes bash completion for me, though it may not be the best way.
Hopefully the pull request will go through or tell me how to do it better
2020-05-09 15:39:25 -04:00
Daiderd Jordan
f885aff4c9
Merge pull request #195 from hauleth/ft/add-dnsmasq-service
Add DNSmasq service
2020-05-03 18:57:17 +02:00
Daiderd Jordan
2752bf1421
Merge pull request #192 from kalbasit/customize-label-prefix
launchd: allow customization of the default launchd prefix
2020-05-03 18:56:00 +02:00
Łukasz Niemier
784b688dd9
docs: add example 2020-04-28 22:43:13 +02:00
Łukasz Niemier
43b7a6901b
test: add tests for new service 2020-04-28 19:06:45 +02:00
Łukasz Niemier
b30a04c00c
ft: add DNSmasq service
This is useful for redirecting some TLDs to the different addresses. For
example I use it to make all requests to `*.localhost` to be resolved to
loopback address which allows me to easily work and test services that
are relying on different domains.
2020-04-28 18:49:08 +02:00
Wael M. Nasreddine
cee84f4ea0 launchd: allow customization of the default launchd prefix 2020-04-14 15:01:37 -07:00
Nejc Zupan
c4970fbc4e
Be nicer 2020-04-12 18:21:07 +01:00
Nejc Zupan
a67e6977c4
Add support for system.defaults.screencapture.disable-shadow 2020-04-12 18:18:46 +01:00
Jason Felice
ff77fcadc2 Rename programs.tmux.tmuxConfig -> extraConfig 2020-03-29 13:58:58 -04:00
Daiderd Jordan
1436543221
nix: kickstart and wait for the nix-daemon service 2020-03-28 19:18:21 +01:00
Daiderd Jordan
80a8a591a9
installer: try creating /run using synthetic.conf
Since macOS 10.15 Catalina / can't be changed directly anymore.

Fixes #166
2020-03-28 19:12:21 +01:00
Daiderd Jordan
1ffae69c56
Merge pull request #169 from tricktron/fix/fonts-catalina
fonts: Adds support if Nix is on another filesystem.
2020-03-03 19:19:21 +01:00
Daiderd Jordan
6a255bd47c
lnl: update 2020-02-29 23:49:53 +01:00
Daiderd Jordan
5fba29c1c8
nix-daemon: use wait4path
This prevents the service from starting (and thus failing) before the
nix store is mounted.
2020-02-24 22:38:32 +01:00
Daiderd Jordan
3d50598ae0
users: ensure uniqueness of gid/uid entries
Instead of a cryptic error during activation conflicting ids are now
caught during evaluation.

    error: The option `users.uids.30001' has conflicting definitions
2020-02-11 16:41:40 +01:00
Daiderd Jordan
3201be1bd4
Merge pull request #168 from input-output-hk/pre-commands-buildkite
buildkite: add preCommands option
2020-01-28 08:26:42 +01:00
Daiderd Jordan
a14315c96e
Merge pull request #175 from treffynnon/more-system-defaults
[system.defaults] more sound, firewall/alf, spaces, loginwindow, SoftwareUpdate
2020-01-21 12:22:17 +01:00
Daiderd Jordan
3b3ae7ab7d
Merge pull request #178 from Kaali/lazy-bash
Let bash load completions lazily
2020-01-21 12:21:16 +01:00
Väinö Järvelä
e1000fc1a6
bash: Let bash load completions lazily
As described in detail here: https://github.com/NixOS/nixpkgs/issues/32533
bash will load completion scripts in $p/share/bash-completion/completions/ on
startup instead of letting bash-completion do it's lazy loading. Bash startup
will then slow down (very noticeable when bash-completion is installed in a
profile).

This commit leaves loading of scripts in the hands of bash-completion,
improving startup time for everyone using `enableCompletion`.

Fixes #101
2020-01-21 12:18:28 +01:00
Daiderd Jordan
267f50e63d
replace list values for types.loaOf
This type has been deprecated in nixpkgs, these options will be
replaced with types.attrsOf in the future.
2020-01-21 12:11:32 +01:00
Daiderd Jordan
7175f52860
Merge pull request #182 from wildsebastian/fix_commitIdFromGitRepo_call
Remove trailing slash from path in commitIdFromGitRepo call
2020-01-15 11:07:12 +01:00
Sebastian Wild
78f931cb53
Remove trailing slash from path
A change of `commitIdFromGitRepo` in nixpkgs/lib/sources.nix
resulted in the error message
"attribute '.git' missing at nixpkgs/lib/sources.nix:7:32" when
executing darwin-rebuils switch.
The commit with the change is
c9214c394b

Removing the trailing slash resolves the error.
2020-01-15 09:17:33 +01:00
cmacrae
11e6e68c99 defaults: introduce NSGlobalDomain option for "_HIHideMenuBar" 2020-01-01 20:51:31 +00:00
Thibault Gagnaux
547ccd60b4 Replaces cp with rsync to prevent partial copies across filesystems. 2019-12-22 22:31:34 +01:00
Thibault Gagnaux
a5d863ee64 fonts: Adds support if Nix is on another filesystem.
On Catalina, the default way is to install Nix on a new volume which breaks hardlinking the font files. If that is the case I just copy them.
2019-12-22 14:52:01 +01:00
Simon Holywell
39bc7bb131
fix autologin name docs 2019-11-04 15:28:38 +10:00
Simon Holywell
42c8f9bce3
adds com.apple.SoftwareUpdate 2019-11-04 14:54:31 +10:00
Simon Holywell
6100c826d4
adds com.apple.loginwindow 2019-11-04 14:35:56 +10:00
Simon Holywell
626a112ce3
adds com.apple.spaces 2019-11-04 14:35:21 +10:00
Simon Holywell
400a367d4e
adds com.apple.alf 2019-11-04 14:06:28 +10:00
Simon Holywell
47a7731943
adds com.apple.sound.beep.feedback 2019-11-04 12:49:09 +10:00
Simon Holywell
8e90853f17
adds com.apple.sound.beep.volume 2019-11-04 12:39:47 +10:00
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
Samuel Leathers
c9d1defa33
buildkite: add preCommands option 2019-10-17 14:40:49 -04: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