1
1
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-10-26 22:08:03 +03:00
Commit Graph

876 Commits

Author SHA1 Message Date
cmacrae
7ebda10e40 module: add spacebar service 2020-05-14 19:41:28 +01:00
Daiderd Jordan
c5f7cee0ed
Merge pull request #196 from cmacrae/modules/services/yabai
module: add yabai service
2020-05-13 19:24:31 +02:00
Daiderd Jordan
64a4bc854e
Merge pull request #198 from Daniel-V1/fix-bash-completions
Fix Bash Completions
2020-05-11 22:26:37 +02:00
Daniel V
5796faef94 Set up XDG system environment variables sort of how they set them up
in nixos by appending them to the nix profiles
2020-05-11 06:56:21 -04:00
cmacrae
7ef533e8d1 module: add yabai service 2020-05-10 22:35:54 +01:00
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
Daiderd Jordan
ee2c31205c
Merge pull request #190 from zupo/patch-1
Add support for system.defaults.screencapture.disable-shadow
2020-05-03 16:53:22 +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
Daiderd Jordan
053f2cb9cb
Merge pull request #184 from eraserhd/support-tmux-extraConfig
Rename programs.tmux.tmuxConfig -> extraConfig
2020-03-29 20:05:12 +02:00
Jason Felice
ff77fcadc2 Rename programs.tmux.tmuxConfig -> extraConfig 2020-03-29 13:58:58 -04:00
Daiderd Jordan
5418d6bb8b
add debug action 2020-03-29 12:41:47 +02:00
Daiderd Jordan
e44188bf4c
update badge 2020-03-28 19:24:59 +01:00
Daiderd Jordan
4ac6b67602
Merge pull request #186 from LnL7/github-actions
GitHub actions
2020-03-28 19:22:58 +01:00
Daiderd Jordan
1f336df3f2
try out github actions 2020-03-28 19:18:22 +01:00
Daiderd Jordan
2afc2c0f6a
remove travis 2020-03-28 19:18:22 +01: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
75fa7cd6bf
remove old boottsrap.sh script 2020-03-28 18:35:20 +01:00
Daiderd Jordan
073935fb99
fix evaluation of darwin.pkgs for recent nixpkgs
The _module attribute was renamed in dcdd232939.
2020-03-22 23:13:59 +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
590e9c872a
darwin-rebuild: allow empty arguments
The wrapper already handles whitespace properly and empty values are
useful for certain flags like --option builders ''.
2020-02-03 22:49:46 +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
Daiderd Jordan
4397563e91
Merge pull request #167 from lunaticare/fix/nixpath_darwin-config
Fix path to darwin-config
2020-01-14 23:51:11 +01:00
Daiderd Jordan
26d5d8f5ba
Merge pull request #181 from cmacrae/defaults/hide-menu-bar
defaults: introduce NSGlobalDomain option for "_HIHideMenuBar"
2020-01-14 23:46:59 +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
f5dd959832 Fixes the failing font test 2019-12-22 14:52:01 +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
Daiderd Jordan
3ec36dd667
darwin-installer: add missing shebang
Unclear in which conditions this does or doesn't work but using a
shebang is best practice and ensures an ancient version of bash isn't
used.

Fixes #179
2019-12-14 18:13:33 +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