1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-15 17:51:01 +00:00
Commit graph

1917 commits

Author SHA1 Message Date
Emily
adf578e398 fonts: reimplement and rename to fonts.packages
Fixes: #120
Fixes: #722
Fixes: #752
Closes: #692
2024-06-13 11:56:10 +01:00
Emily
27517d2d18 fonts: refactor system.build.fonts
Process substitution behaves better with variables and it's good
practice to use `lib.escapeShellArgs`.
2024-06-13 11:55:36 +01:00
Emily
09e72ff9b9 fonts: remove with lib 2024-06-13 11:54:58 +01:00
Emily
eb2f62d0de fonts: use non-standard path in test
Ensure that #665 works correctly.
2024-06-13 11:54:23 +01:00
Emily
139ea5dd92
Merge pull request #963 from elohmeier/launchd-lowpriobgio
launchd: add LowPriorityBackgroundIO config
2024-06-13 11:14:19 +01:00
Michael Hoang
315aa649ba
Merge pull request #965 from jonnyowenpowell/feat/screencapture-show-thumbnail-defaults-option
feat: add defaults screencapture show-thumbnail option
2024-06-10 09:49:55 +10:00
Tyler Miller
861af0fc94
fix(launchd): improve StartCalendarInterval
Stricter launchd -> StartCalendarInterval type:

- Verify that the integers passed to `Minute`, `Hour`, etc. are within
  range.

- When provided, the value for StartCalendarInterval must be a non-empty
  list of calendar intervals and must not contain duplicates entries
  (throw an error otherwise).

- For increased flexibility and backwards-compatibility, allow an
  attrset to be passed as well (which will be type-checked and is
  functionally equivalent to passing a singleton list). Allowing an
  attrset or list is precisely in-line with what `launchd.plist(5)`
  accepts for StartCalendarInterval.

Migrate `nix.gc.interval` and `nix.optimise.interval` over to use this
new type, and update their defaults to run weekly instead of daily.

Create `modules/launchd/types.nix` file for easier/modular use of
launchd types needed in multiple files.

Documentation:

- Update and improve wording/documentation of launchd's
  `StartCalendarInterval`.

- Improve wording/documentation of `nix.gc.interval` and
  `nix.optimise.interval` ("time interval" can be misleading as it's
  actually a "calendar interval"; e.g. `{ Hour = 3; Minute = 15;}`
  runs daily, not every 3.25 hours).
2024-06-09 11:20:15 -07:00
jonny
cb198382c2
feat: add defaults screencapture show-thumbnail option 2024-06-06 17:40:24 +01:00
Enno Richter
9ed6009b21 launchd: add LowPriorityBackgroundIO config 2024-06-05 06:40:05 +02:00
Trevor Opiyo
44c88484c4 add warning for enabling syntax highlighting and fast syntax highlighting 2024-05-29 12:24:11 -05:00
Trevor Opiyo
2839ef54aa Add support for zsh-fast-syntax-highlighting 2024-05-29 12:24:11 -05:00
Michael Hoang
c0d5b8c54d
Merge pull request #958 from kamushadenes/master
Add support for trackpad force click
2024-05-30 00:41:28 +10:00
Henrique Goncalves
9639c5509b
Update modules/system/defaults/NSGlobalDomain.nix
Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com>
2024-05-25 03:14:18 -03:00
Michael Hoang
0bea8222f6
Merge pull request #956 from amarshall/systempath-order
environment: Adjust systemPath order to allow injecting in the middle
2024-05-24 10:37:35 +10:00
Henrique Goncalves
2e0f9a9e50
Update NSGlobalDomain.nix 2024-05-23 16:56:43 -03:00
Henrique Goncalves
0e5fc0028b
Update NSGlobalDomain.nix 2024-05-23 16:50:15 -03:00
Henrique Goncalves
120e085d1a
Update NSGlobalDomain.nix 2024-05-23 16:42:31 -03:00
Henrique Goncalves
6cbe6bc2da
Update trackpad.nix 2024-05-23 16:40:17 -03:00
Andrew Marshall
7f897008d4 environment: Adjust systemPath order to allow injecting in the middle
Previously, it was not possible to inject PATH entries between profiles
and the “default system” PATH entries. This confounds adding, e.g.
Homebrew on aarch64’s non-standard prefix as higher priority than the
builtin system paths, but lower than Nix profiles.

This is a backwards-incompatible change for some users, but should only
be so in the case a user used `mkOrder` with a value between 1000 (the
default priority) and 1200. Value of 1200 chosen as the same delta from
the default as just below in `environment.profiles` (which uses 800),
and mkAfter is 1500 so will still go after this.
2024-05-23 09:55:35 -04:00
Andrew Marshall
bd0ed8599f environment: Test how order of systemPath and profiles manifests 2024-05-23 09:55:35 -04:00
Andrew Marshall
9b6f77200f environment: Rework test to assert against full $PATH
It’s deterministic after all, so test against the full thing for greater
flexibility in testing and confidence in lack of unexpected changes to
previously-untested parts of the default $PATH.

Do this in a subshell to avoid polluting the test script’s environment.
2024-05-23 09:55:35 -04:00
Michael Hoang
eac4f25028
Merge pull request #955 from qowoz/hercules-security
hercules-ci-agent: fix crash calling `security`
2024-05-22 08:15:35 +10:00
zowoq
251eaabfa0 hercules-ci-agent: fix crash calling security
this applies the same fix that was used for the cachix agent in e043606b50
2024-05-21 23:16:46 +10:00
Michael Hoang
8bf083c992
Merge pull request #950 from rmgpinto/persistent-others-file-directory-tile
Add file or directory tile to Dock persistent others
2024-05-21 07:21:31 +10:00
Michael Hoang
e1cacc63e6
Merge pull request #926 from Rubikoid/rubikoid/offline-flag
Add offline and substituters flags
2024-05-20 21:25:19 +10:00
Michael Hoang
a2d8796ce9
Merge pull request #954 from thegleich/change-zsh-default-prompt
Change zsh default prompt
2024-05-20 21:17:27 +10:00
Dominik Gleich
c8a8faedbc
Change zsh default prompt 2024-05-20 09:48:03 +02:00
Rubikoid
24f7a3fdf4
Move --offline to group of same behaviour flags 2024-05-18 16:25:53 +03:00
Michael Hoang
ffc01182f9
Merge pull request #953 from techknowlogick/patch-1
remove final lib.mddoc
2024-05-17 09:25:37 +10:00
techknowlogick
de20ea4882
remove final lib.mddoc 2024-05-16 12:48:56 -04:00
Domen Kožar
cb02884fa1
Merge pull request #952 from sandydoo/fix-924
cachix-agent: fix crash calling `security`
2024-05-16 16:58:05 +02:00
Sander
e043606b50
cachix-agent: fix crash calling security
One of cachix-agent's dependencies, `hs-certificate`, makes calls to
`security`. This lives in `/usr/bin`, which isn't available from
launchd. This commit makes the system paths available to cachix-agent.

Fixes #924.
2024-05-16 18:04:33 +04:00
Ricardo Pinto
93913d14a3
Add file or directory tile to Dock persistent others 2024-05-15 07:49:00 +01:00
Michael Hoang
de8b0d60d6
Merge pull request #928 from rmgpinto/persistent-others
Add persistent others to dock
2024-05-14 12:22:58 +10:00
Ricardo Pinto
457a5d9952
Add persistent others to dock 2024-05-13 13:46:54 +01:00
Rubikoid
2a2a311fca
Fix help 2024-05-07 16:02:26 +03:00
Rubikoid
3524643c3d
Fix --offline
Add --substituters flag
2024-05-07 16:02:26 +03:00
Rubikoid
bb17a88bc0
Add offline flag to darwin-rebuild.sh 2024-05-07 16:02:26 +03:00
Michael Hoang
230a197063
Merge pull request #940 from qowoz/nix-daemon
nix-daemon: increase SoftResourceLimits.NumberOfFiles
2024-04-24 18:09:31 +10:00
zowoq
ec06ea8837 nix-daemon: increase SoftResourceLimits.NumberOfFiles
1048576 matches the nixos/nix plist

e3a4e40a35/misc/launchd/org.nixos.nix-daemon.plist.in (L29)
2024-04-24 16:03:49 +10:00
Michael Hoang
9e7c20ffd0
Merge pull request #932 from wegank/mddoc-remove
treewide: remove lib.mdDoc
2024-04-20 02:24:36 +10:00
Michael Hoang
eb25dc61a6
Merge pull request #936 from JeffersonBledsoe/master
Update ShowDate documentation in menuExtraClock
2024-04-19 12:08:17 +10:00
Weijia Wang
def1e23be8 treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
Michael Hoang
99b3f9a1f5
Merge pull request #938 from wegank/release-bump
ci, readme: update stable nixpkgs to 23.11
2024-04-19 12:03:01 +10:00
Weijia Wang
1098e60e92 ci, readme: update stable nixpkgs to 23.11 2024-04-18 18:29:24 +02:00
Jefferson Bledsoe
81f7aab5ed
Update ShowDate in menuExtraClock 2024-04-18 13:53:30 +00:00
Michael Hoang
36524adc31
Merge pull request #915 from malob/add-nix-optimise-module
Add `nix.optimise` module
2024-03-30 12:48:46 +11:00
Michael Hoang
f0dd0838c3
Merge pull request #917 from HyunggyuJang/fix-meta
Use valid maintainer in meta example
2024-03-28 13:02:14 +11:00
Malo Bourgon
398510f601 Add nix.optimise module 2024-03-27 12:50:04 -07:00
Hyunggyu Jang
83a9a41f1b Use valid maintainer 2024-03-26 13:58:02 +09:00