1
1
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-09-11 12:49:18 +03:00
Commit Graph

1088 Commits

Author SHA1 Message Date
Daiderd Jordan
cec42039b0
install-cachix-action: v8 -> v9 2020-05-29 22:56:37 +02:00
Daiderd Jordan
f55568ea4e
system: cleanup patches activation 2020-05-29 22:54:25 +02:00
Daiderd Jordan
77121650d4
system: add patches module 2020-05-29 21:29:20 +02:00
Daiderd Jordan
f0552188ba
Merge pull request #201 from jamesottaway/only-sed-simple-example
Only enable `services.nix-daemon` when no config is present upon install
2020-05-25 20:05:02 +02:00
Daiderd Jordan
600bd4f9ed
Merge pull request #200 from shardulbee/master
Separate yabai config and extra config by newline
2020-05-25 20:03:31 +02:00
James Ottaway
32fa78821f Only enable services.nix-daemon when no config is present upon install 2020-05-17 21:58:35 +10:00
Shardul Baral
97729d1e79
Separate yabai config and extra config by newline
If a user passes both `config` and `extraConfig` to the `yabai` serivce,
the generated `yabairc` file is invalid. This is because we do not add a
newline separator when we concatenate the config string generated by
`toYabaiConfig cfg.config` with `cfg.extraConfig`.

This PR prepends a newline to `cfg.extraConfig` if it is non-empty so
that the resulting `yabairc` config is valid.
2020-05-15 15:38:57 -04:00
Daiderd Jordan
5f6d300a2d
add comment on how to trigger the debug workflows 2020-05-15 18:13:36 +02:00
Daiderd Jordan
eb3a5a401f
update label for debug workflow 2020-05-15 18:13:13 +02:00
Daiderd Jordan
8f057555c7
Merge pull request #197 from cmacrae/modules/services/spacebar
module: add spacebar service
2020-05-14 21:18:52 +02:00
cmacrae
7ebda10e40 module: add spacebar service 2020-05-14 19:41:28 +01:00
Daiderd Jordan
008c0efb11
Merge pull request #199 from LnL7/fix-gh-actions
update macos label
2020-05-14 19:22:55 +02:00
Daiderd Jordan
4903624ee6
update macos label
Seems like this was renamed to macos-$version and macos-latest.
2020-05-14 19:12:18 +02: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