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

1503 Commits

Author SHA1 Message Date
Adam Curtis
5cec74dae1 fix shell escaping in networking config 2024-01-19 12:16:32 -05:00
Michael Hoang
74ab0227ee
Merge pull request #851 from XMLHexagram/patch-1
Add type definition on fonts.fontDir.enable
2024-01-17 10:44:49 +10:00
XMLHexagram
4051e3027d
Add type definition on fonts.fontDir.enable 2024-01-16 21:07:41 +08:00
Michael Hoang
44a6ec1fae
Merge pull request #850 from tfc/master
linux-builder: Add `ephemeral` option to delete VM's disk image on service restart
2024-01-16 08:06:44 +10:00
Jacek Galowicz
c4ea346d0f Dedupe the WorkingDirectory path of the linux-builder 2024-01-15 13:51:34 +01:00
Michael Hoang
0dd382b70c
Merge pull request #820 from mhumeSF/reduce-motion
Add `universalaccess.reduceMotion` option
2024-01-03 10:28:40 +00:00
Mike Hume
4a4542ba89 Adding test 2024-01-02 22:58:18 -10:00
Michael Hoang
1a41453cba
Merge pull request #841 from carlthome/patch-1
Fix type error
2023-12-31 12:41:07 +10:00
Carl Thomé
59bef44059
Fix type error
```
error: A definition for option `launchd.user.agents.[...].serviceConfig.StartCalendarInterval' is not of type `null or (list of (submodule))'. Definition values:
       - In `<unknown-file>':
           {
             Hour = 0;
             Minute = 0;
           }
```
2023-12-30 23:47:20 +01:00
Michael Hoang
0a3afdc600
Merge pull request #839 from khaneliman/mouse-scaling
GlobalPreferences: fix mouse scaling example
2023-12-30 08:03:57 +10:00
Austin Horstman
f6cf46f7bc
GlobalPreferences: fix mouse scaling example 2023-12-29 14:09:38 -06:00
Michael Hoang
8a8321271f
Merge pull request #838 from moni-dz/deprecate-string-float
Use native floats for mouse scaling
2023-12-27 13:55:38 +10:00
fortuneteller2k
9acb5b1adc Use native floats for mouse scaling 2023-12-27 11:30:04 +08:00
Domen Kožar
f454cff5fe
Merge pull request #837 from Enzime/add/shells
etc: add known hash for `/etc/shells`
2023-12-24 10:54:00 +00:00
Michael Hoang
850eabce44 etc: add known hash for /etc/shells 2023-12-23 22:41:58 +11:00
Michael Hoang
010a625bd7
Merge pull request #831 from rkitover/high-sierra-fix
darwin-rebuild: fix sudo invocation on High Sierra
2023-12-23 04:53:21 +10:00
Rafael Kitover
f81fbc2bf7
darwin-rebuild: fix sudo invocation on High Sierra
The version of sudo on macOS 10.13 High Sierra does not support the
`--preserve-env=LIST` option syntax, which is used here to preserve
PATH.

Override sudo with a shell function that checks for the availability of
this option syntax, and do not pass PATH otherwise.

Also move the prefix env command in the sudo invocations into the new
sudo function.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2023-12-22 14:40:13 +00:00
Mike Hume
6c40798934 Adding reduce motion option 2023-12-01 15:10:10 -05:00
Michael Hoang
4b9b83d5a9
Merge pull request #806 from DeterminateSystems/easier-uninstall
Install darwin-uninstall by default, which includes the 'empty' config it switches to
2023-11-24 14:11:34 +11:00
Domen Kožar
7e8d292728
Merge pull request #819 from Enzime/update-nix
fix: tests failing to build on unstable Nix
2023-11-24 00:10:37 +01:00
Michael Hoang
49ae6b92ff fix: tests failing to build on unstable Nix
Use Nix 2.13.6 which is the default version for NixOS 23.05.
2023-11-24 09:53:59 +11:00
Domen Kožar
c465a67a54
Merge pull request #809 from Enzime/more-hashes
etc: add more known hashes
2023-11-23 10:46:16 +01:00
Michael Hoang
6e0f4e58a6
Merge pull request #814 from aeolyus/master
[yabai] Configure scripting addition
2023-11-23 14:31:04 +11:00
Michael Hoang
fb9ed3f053
Merge pull request #810 from vegabook/issue_802_readme_flakes
Add flakes section reference in Installation section
2023-11-23 10:46:55 +11:00
vegabook
319104a125 Improve flakes documentation in README
Co-Authored-By: Michael Hoang <enzime@users.noreply.github.com>
2023-11-23 10:31:55 +11:00
Richard Huang
892482250c
[yabai] Configure scripting addition
Allow admins to execute `yabai --load-sa` as the root user without
having to enter a password
2023-11-18 21:01:01 -08:00
Graham Christensen
09284ab00b Install darwin-uninstall by default, which includes the 'empty' config it switches to
Co-Authored-By: Michael Hoang <enzime@users.noreply.github.com>
2023-11-16 17:47:24 +11:00
Michael Hoang
d4efdb7f88 etc: add more known hashes
This should be less of an issue as of DetSys' nix-installer 0.15.0 which
no longer includes the version number in `nix.conf`.
2023-11-16 14:26:25 +11:00
Michael Hoang
e67f2bf515
Merge pull request #803 from felixscheinost/fix-unbound-variable-etcProblems
Fix unbound variable `etcProblems`
2023-11-13 20:32:58 +11:00
Michael Hoang
0f1ad80138
Merge pull request #805 from yacinehmito/disable-pki
Add security.pki.installCACerts config
2023-11-11 23:03:48 +11:00
Yacine Hmito
4fa7b5cdd1 Add security.pki.installCACerts config
Made is possible to disable the management of
/etc/ssl/certs/ca-certificates.crt by Nix darwin.
2023-11-11 12:36:28 +01:00
Michael Hoang
c8f385766b
Merge pull request #799 from rawmannovak/fix-789-darwin-rebuild
fix(#798): darwin-rebuild support for Cyberark EPM
2023-11-10 09:31:29 +11:00
Roman Novak
a4b4cf70dc
Update pkgs/nix-tools/darwin-rebuild.sh
Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com>
2023-11-09 18:09:45 +01:00
Felix Scheinost
39a412d47d Fix unbound variable etcProblems
I have another activationScript which traps errors. Currently `etcProblems` can be unbound.
2023-11-09 12:44:10 +01:00
Domen Kožar
eb2b9b6423
Merge pull request #785 from Enzime/deferred-modules
linux-builder: change from `modules` to `config`
2023-11-08 09:58:53 +00:00
Roman Novak
26a59d504b
fix(#798): darwin-rebuild support for Cyberark EPM
restore sudo environment PATH when Cyberark EPM is setting secure_path in sudo config. Fixes LnL7/nix-darwin/issues/798
2023-11-06 10:24:41 +01:00
Michael Hoang
afe83cbc2e
Merge pull request #791 from lilyball/linux-builder-tmpdir
linux-builder: avoid /tmp for certs
2023-10-27 19:55:34 +02:00
Michael Hoang
19f75c2b45
Merge pull request #795 from krostar/master
Provide 'supportedFeatures' option to the linux builder module
2023-10-19 14:53:14 +01:00
Alexis Destrez
e621b5aea7 Provide 'supportedFeatures' option to the linux builder module 2023-10-18 17:47:27 +02:00
Lily Ballard
160eb3d99d linux-builder: avoid /tmp for certs
Fixes #768
2023-10-09 16:09:11 -07:00
Michael Hoang
8b6ea26d5d
Merge pull request #777 from ppenguin/expose-more-config-attr
Expose _module attr in realised sysconfig
2023-10-04 05:06:51 +10:00
ppenguin
3d65d13974 expose _module attr in realised sysconfig
Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com>
2023-10-03 19:56:33 +01:00
Michael Hoang
792c2e0134
Merge pull request #783 from qowoz/activate-sudo
darwin-rebuild: add `-H` to sudo for `$systemConfig/activate`
2023-09-30 03:10:47 +00:00
Michael Hoang
70af808347 linux-builder: change from modules to config
Using the type `deferredModule` fixes `pkgs` not being accessible as a
module argument (apart from `config._module.args.pkgs`).
2023-09-29 12:38:39 +01:00
Michael Hoang
e236a1e598
Merge pull request #187 from kalbasit/known-hosts-only-if-set
programs.ssh: write ssh known_hosts only if there are any set
2023-09-26 01:05:13 +01:00
zowoq
ab817e5d0e darwin-rebuild: add -H to sudo for $systemConfig/activate 2023-09-25 14:02:52 +10:00
Michael Hoang
c286b23c7f
Merge pull request #676 from carlthome/patch-1
Use LocalHostName in darwin-rebuild with a flake
2023-09-23 00:12:26 +01:00
Michael Hoang
b658dbd85a
Update README 2023-09-22 16:17:42 +01:00
Michael Hoang
afeddc412b
Merge pull request #782 from LnL7/domenkozar-patch-1
Create $out/darwin-version
2023-09-19 11:13:39 +02:00
Domen Kožar
8caf3af927
Create $out/darwin-version
This fixes backwards compatibility with code that expects it.
2023-09-19 09:54:27 +01:00