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

1284 commits

Author SHA1 Message Date
Jan Schmitt
ad36f9fa06
docs: extend documentation
* mention prerequisite of nix
* explicitly mention implications when using the uninstaller.
* mention channel ownership when using nix as a daemon-service.
* add additional ways to work with the documentation.
* give another example how to run tests
2022-09-02 14:34:06 +02:00
Malo Bourgon
9b3104f90d Update changelog 2022-09-01 10:50:23 -07:00
Malo Bourgon
2ddebb3189 Improve documentation of homebrew module 2022-09-01 10:50:23 -07:00
Malo Bourgon
7710d1d7d6 Add global into a submodule
* Add `homebrew.global.autoUpdate` option.
* Remove `homebrew.global.noLock` option, and replace it with
  `hombrew.global.lockfiles`.
2022-09-01 10:50:21 -07:00
Michael Hoang
ed4d2d69a0 karabiner-elements: don't use scripts
`launchd.daemons.*.script` are stored in `/nix/store` which might not be
mounted when the launch daemon attempts to start.
2022-09-01 14:39:26 +10:00
Malo Bourgon
b547a7acb0 Create submodule for activation related homebrew options
* Adds `homebrew.onActivation` submodule.
* Moves `homebrew.autoUpdate` to `homebrew.onActivation.autoUpdate`.
* Moves `homebrew.cleanup` to `homebrew.onActivation.clean`.
* Adds new option `homebrew.onActivation.upgrade`.
2022-08-31 18:40:21 -07:00
Malo Bourgon
55e198cf5a Add somes tests for homebrew module 2022-08-30 13:30:05 -07:00
Malo Bourgon
46032bad42 Cleanup/improve homebrew module's code, documentation, and option descriptions 2022-08-30 13:30:03 -07:00
Malo Bourgon
02a38c6a89 Enable defining options for casks using submodule 2022-08-30 12:32:16 -07:00
Malo Bourgon
56031db9c1 Enable defining options for brews using submodule 2022-08-30 12:32:16 -07:00
Malo Bourgon
bd93329d6c Enable defining options for taps using submodule 2022-08-30 12:32:16 -07:00
Malo Bourgon
92da7697d1 Add homebrew.caskArgs option 2022-08-30 12:32:14 -07:00
Domen Kožar
80cec5115a
Merge pull request #512 from malob/readme-IRC-to-matrix
Update readme to point to Matrix instead of IRC
2022-08-30 20:09:00 +02:00
Domen Kožar
fb820618be
Merge pull request #510 from malob/convert-to-native-floats
Transition to using native floats for option types
2022-08-30 20:04:44 +02:00
Domen Kožar
db543d325f
Merge pull request #509 from malob/fix-warning-about-HOME
Add `-H` to `sudo nix-env [...]` calls in `darwin-rebuild.sh` to deal with warning
2022-08-30 19:56:26 +02:00
Domen Kožar
be1b9867eb
Merge pull request #511 from malob/fix-launchd-descriptions
Fix launchd options description oddities
2022-08-30 19:54:35 +02:00
Malo Bourgon
42cc9d2c27 Update readme to point to Matrix instead of IRC 2022-08-29 16:33:56 -07:00
Malo Bourgon
241d88ed20 Fix launchd options description oddities 2022-08-29 16:09:38 -07:00
Malo Bourgon
5fa362c32f Transition to using native floats 2022-08-29 15:39:16 -07:00
Malo Bourgon
1da877d28c Add -H to sudo nix-env [...] to deal with warning
After NixOS/nix#6676, the following warning is displayed when running
`darwin-rebuild switch`:
  warning: $HOME ('/Users/jamie') is not owned by you, falling back to the
  one defined in the 'passwd' file.
2022-08-29 11:59:54 -07:00
Domen Kožar
157a3c3c4e
Merge pull request #501 from jab/patch-1
Fix copypasta in simple example
2022-08-29 09:35:18 +01:00
Domen Kožar
0fb911a78a
Merge pull request #507 from misuzu/netbird-module
Add netbird module
2022-08-29 09:34:23 +01:00
Domen Kožar
e6dedb44de
Merge pull request #503 from lockejan/fix/deprecation-warning
fix(gitlab-runner): deprecated literalExample
2022-08-29 09:33:44 +01:00
misuzu
09a45c8458 Add netbird module 2022-08-28 18:42:46 +03:00
Michael Hoang
afcce995bd karabiner-elements: init module 2022-08-28 20:01:28 +10:00
Jan Schmitt
ee4521db7f
fix(gitlab-runner): deprecated literalExample
* replace all occurrence's with literalExpression
* fixes #504
2022-08-26 17:39:26 +02:00
Joshua Bronson
05cab3fc91
Fix copypasta in simple example 2022-08-25 09:43:42 -04:00
Michael Hoang
176c446b97 launchd: add extra KeepAlive options 2022-08-25 00:39:14 +10:00
Domen Kožar
ef0e7f41cd
Merge pull request #289 from angerman/angerman/gitlab-runner
adds gitlab-runner
2022-08-24 10:32:16 +02:00
Domen Kožar
2f3c9bb364
Merge pull request #493 from AlexOwl/patch-1
Fix brewfile behavior to allow cask_args, etc
2022-08-23 16:23:19 +02:00
Domen Kožar
5af1aa51f6
Merge pull request #490 from malob/update-nix-module
Bring `nix` module back in sync with the NixOS module (as much as possible)
2022-08-22 09:55:24 +02:00
Domen Kožar
b344a20e80
Merge pull request #471 from tianyaochou/fix-alias-shell-escape
add escape to shell aliases
2022-08-22 09:52:46 +02:00
Domen Kožar
178707551f
Merge pull request #494 from lockejan/appswitcher
feat: provide option to display the appswitcher on all displays
2022-08-22 09:51:43 +02:00
Domen Kožar
0ea1242721
Merge pull request #491 from yonran/387-no-developer-tools-were-found
Fix nix-rebuild --flake without XCode command line tools
2022-08-22 09:50:59 +02:00
Jan Schmitt
fbca12e524
feat: provide option to display the appswitcher on all displays 2022-08-20 22:48:59 +02:00
AlexOwl
903eb89a07
Update homebrew.nix 2022-08-19 21:07:04 +04:00
Malo Bourgon
796a72f0fe Update changelog 2022-08-16 17:41:13 -07:00
Malo Bourgon
8e2c71d1ca Tweak nix.gc module to more closely match NixOS module 2022-08-16 17:41:13 -07:00
Malo Bourgon
c027fb5ee5 Update nix.gc module with same indenting/formatting as NixOS module 2022-08-16 17:41:13 -07:00
Malo Bourgon
f75b461ae2 Fix tests failing due to Nix version check 2022-08-16 17:41:13 -07:00
Malo Bourgon
ffc8ec5c9a Add .nix-defexpr to NIX_PATH the way the NixOS module does 2022-08-16 17:41:08 -07:00
Yonathan Randolph
2120245fc2 Fix #387 nix-rebuild --flake without XCode tools
Add nixpkgs git to PATH before /usr/bin/git so that when nix flake metadata invokes git, it does not invoke the XCode one.
2022-08-16 13:55:13 -07:00
Malo Bourgon
08edc0e19a Update/adapt daemon CPU/IO priority options in nix module
Stop using `nice` related options like NixOS, and because `launchd`
recommends using `ProcessType` instead. Note this commit also changes
the default `ProcessType` for the `nix-daemon` from `Interactive` to
`Standard`.
2022-08-16 10:41:51 -07:00
Malo Bourgon
7e74c1c9fb Move build user options to nix module to improve overlap with NixOS
Also add `config.ids` like in NixOS.
2022-08-16 10:41:51 -07:00
Malo Bourgon
f88286eda0 Update nix.registry definition to match NixOS module 2022-08-16 10:41:51 -07:00
Malo Bourgon
7648c9befc Refactor nix.nixPath to make diff easier to compare with NixOS module 2022-08-16 10:41:51 -07:00
Malo Bourgon
c3bdd6d95f Update nix.buildMachines def and implementation to match NixOS module 2022-08-16 10:41:51 -07:00
Malo Bourgon
39cf1e6fbe Minor tweaks to nix module options defs 2022-08-16 10:41:51 -07:00
Malo Bourgon
d44b8be38c Reorder nix module implementation to better match order of NixOS module 2022-08-16 10:41:51 -07:00
Malo Bourgon
5786c079f8 Make nix.settings docs specific to (nix-)darwin where applicable 2022-08-16 10:41:51 -07:00