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

754 commits

Author SHA1 Message Date
Malo Bourgon
f729a09a28 Update nix module to use settings sub options like in NixOS module
Also update option definitions to match those in `nixpkgs` where it
makes sense.
2022-08-16 10:41:51 -07:00
Daniel Santa Cruz
2c6b9d9144 Add option to set com.apple.screencapture type 2022-07-12 14:50:50 -06:00
Daiderd Jordan
2f2bdf658d
update example config 2022-05-07 11:33:56 +02:00
Soner Sayakci
0119c40dfa
modules: make dataDir nullable in redis 2022-04-26 14:04:02 +02:00
Daiderd Jordan
1a387b8b3e
Merge pull request #447 from dsyang/additional-options
add options for configuring activity monitor
2022-04-25 23:03:55 +02:00
Daiderd Jordan
aba9ce944e
Merge pull request #429 from montchr/add-toplevel-option-lib
Add top-level `lib` option based on NixOS
2022-04-25 22:59:34 +02:00
Daiderd Jordan
d010355f1b
Merge pull request #453 from mtoohey31/fix/synthetic-instructions
Fix synthetic.conf instructions
2022-04-25 22:51:45 +02:00
Daiderd Jordan
175e7c23b9
Merge pull request #455 from eqyiel/add-launchevents
feat: add serviceConfig.LaunchEvents configuration option
2022-04-25 22:47:35 +02:00
Chris Montgomery
51e8b0b353
fonts: replace remaining reference to enableFontDir
see https://github.com/LnL7/nix-darwin/pull/456#issuecomment-1105472886

props to @jared-w for spotting my mistake
2022-04-24 13:36:19 -04:00
Chris Montgomery
b67c312295
fonts: rename fonts.enableFontDir in line with NixOS
since 21.05 beta:

e22337c870/nixos/modules/config/fonts/fontdir.nix (L64)
c99bd9bedf
2022-04-19 10:30:52 -04:00
Ruben Maher
11c98bfad4
feat: add serviceConfig.LaunchEvents configuration option
This is required if you want to register an "xpc event stream handler". Check
out the README for https://github.com/snosrap/xpc_set_event_stream_handler for
more info.
2022-04-17 10:45:22 +09:00
Matthew Toohey
a4f5ff411e Fix synthetic.conf instructions 2022-04-14 20:07:28 -04:00
Domen Kožar
8a1a454873
Merge pull request #450 from midchildan/fix/fxpreferredviewstyle
fix: incorrect default for FXPreferredViewStyle
2022-03-26 07:08:58 +00:00
Brian Leung
af3eb87e82
Add NSGlobalDomain.NSAutomaticWindowAnimationsEnabled setting
* modules/system/defaults/NSGlobalDomain.nix: Define.
2022-03-25 23:04:45 -07:00
Domen Kožar
20813f1df7
Merge pull request #446 from dsyang/show-files-always
add option to show hidden files everywhere
2022-03-25 12:25:08 +00:00
midchildan
f6161c1ed8
fix: incorrect default for FXPreferredViewStyle 2022-03-25 00:37:17 +09:00
Dan Yang
faaa12ad24 add options for configuring activity monitor 2022-03-14 10:17:35 -07:00
Dan Yang
37e42a9fe4 add option to show hidden files everywhere 2022-03-14 10:04:28 -07:00
Domen Kožar
17fbc68a61
Merge pull request #445 from dsyang/finder-options
Add additional options to configure Finder
2022-03-13 12:18:50 +00:00
Dan Yang
d61d8b3bd0 additional finder options 2022-03-10 00:43:27 -08:00
Dan Yang
d1c5344222 option to show all hidden files 2022-03-10 00:12:30 -08:00
Chris Montgomery
3bb62d40a2
Merge branch 'LnL7:master' into add-toplevel-option-lib 2022-02-27 21:26:31 -05:00
Yestin L. Harrison
0df6e9f5fe cachix-agent: literalExample -> literalExpression 2022-02-23 14:09:52 -08:00
Daiderd Jordan
1df878b6f8
Merge pull request #438 from domenkozar/cachix-deploy
Add Cachix Agent
2022-02-19 18:50:39 +01:00
Domen Kožar
2186a66331
Merge pull request #435 from Enzime/support-pkgs
eval-config: Support passing in `pkgs`
2022-02-19 16:32:49 +01:00
Domen Kožar
6dd5e881a0 Add Cachix Agent support 2022-02-16 11:21:17 +01:00
Finn Behrens
efa1aa6ca5 telegraf: init module 2022-02-08 17:48:57 +01:00
Michael Hoang
5528b36698 eval-config: Support passing in pkgs
This is useful for flake users as they will usually already have an
instantiated Nixpkgs e.g.

    let
      pkgs = import nixpkgs {
        config.allowUnfree = true;
        overlays = [ ... ];
      }
    in darwin.lib.darwinSystem {
      inherit pkgs;
    }

This change makes `nix-darwin` match the behaviour of NixOS and
`home-manager`.
2022-02-04 21:32:40 +11:00
Chris Montgomery
9c645f5c61
feat: add top-level lib option
For parity with NixOS:

https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/misc/lib.nix
2022-01-23 12:42:09 -05:00
Malo Bourgon
bef3621501 Fix homebrew.brewPrefix default value on Apple Silicon 2022-01-17 16:07:09 -08:00
Daiderd Jordan
af65e183c3
Merge pull request #419 from tboerger/dock-features
modules/system/defaults/dock.nix: add options for hot corners
2022-01-17 21:57:10 +01:00
Daiderd Jordan
f22e870a2e
Merge pull request #414 from montchr/feature/system-defaults-universalaccess
defaults: add options for common defaults in the `com.apple.universalaccess` domain
2022-01-17 21:42:43 +01:00
Steve Purcell
7f68974ea4 Set brewPrefix defaults according to platform
This allows homebrew support to work out of the box on Apple Silicon
machines.

See #322
2022-01-17 17:23:31 +01:00
Thomas Boerger
4c243ea8c8
modules/system/defaults/dock.nix: make sure to use positive ints for hot corners 2022-01-17 00:33:29 +01:00
Thomas Boerger
d053e8ade5
modules/system/defaults/dock.nix: add options for hot corners 2022-01-17 00:33:29 +01:00
John Soo
e5ba780a76 nixpkgs: Allow functors.
Replace builtins.isFunction with lib.isFunction, which allows functors.
2022-01-04 16:38:14 -07:00
Robert Hensing
19a1534e61 modules/documentation/default.nix: Fix args warning 2022-01-02 12:45:39 +01:00
Daiderd Jordan
40b518d336
nix: extend nix.conf content whitelist
Fixes #407
2022-01-02 11:50:09 +01:00
Chris Montgomery
1cf5705283
defaults: add options for common universalaccess settings 2021-12-24 17:52:17 -05:00
Chris Montgomery
7709d31d76
defaults-write: sort variables and lists by name and option 2021-12-24 17:29:44 -05:00
Chris Montgomery
f07acb443a
defaults-write: formatting 2021-12-24 17:20:15 -05:00
Daiderd Jordan
44da835ac4
add forward compatibility for literalExample deprecation
Fixes #367
2021-10-23 15:06:42 +02:00
cherryblossom000
99ff0b66ca
Fix some typos 2021-10-21 20:37:43 +11:00
Daiderd Jordan
e1a3f7292f
improve flakes missing system error message 2021-09-15 20:22:23 +02:00
Daiderd Jordan
738eff4f33
Merge pull request #317 from darwinSystem 2021-09-15 20:11:08 +02:00
Daiderd Jordan
f3c3b8db6e
Merge pull request #351 from nosewings/master
system.defaults: enable automatic light/dark mode
2021-09-14 18:53:17 +02:00
Drew Hess
9f7e95887f
Pass system to darwinSystem rather than eval-config.
This allows us to specify what kind of darwinSystem we want to build,
rather than determining it at evaluation time.
2021-09-08 13:05:18 +01:00
Jason Felice
998fbfc039 defaults: magic mouse option 2021-08-24 17:13:48 -04:00
Nicholas Coltharp
7a3f541d5c system.defaults: enable automatic light/dark mode 2021-08-06 18:43:03 -05:00
Daiderd Jordan
007d700e64
Merge pull request #304 from aaschmid/configurable.brew.path
homebrew: make brew path configurable
2021-05-26 22:20:22 +02:00