Commit graph

2254 commits

Author SHA1 Message Date
Michael Hoang
7be9c1b136
Add system.defaults.NSGlobalDomain.AppleIconAppearanceTheme (#1593) 2025-09-20 16:52:53 +00:00
Quintus Cardozo
5eb53f6003 Add test for system.defaults.NSGlobalDomain.AppleIconAppearanceTheme 2025-09-21 02:12:35 +10:00
Quintus Cardozo
3c7396a09c
Add system.defaults.NSGlobalDomain.AppleIconAppearanceTheme 2025-09-19 13:58:48 +10:00
Sam
ebd0bfc11f
defaults: add NSGlobalDomain.NSStatusItem{Spacing,SelectionPadding} (#1310)
Some checks failed
Test / test-stable (push) Has been cancelled
Test / install-against-stable (push) Has been cancelled
Test / install-flake (push) Has been cancelled
Update website / Build (push) Has been cancelled
Update website / Deploy (push) Has been cancelled
2025-09-17 09:55:40 +00:00
Maarten Staa
ac7999d72d Add NSStatusItemSpacing and NSStatusItemSelectionPadding
Add `NSStatusItemSpacing` and `NSStatusItemSelectionPadding` to `NSGlobalDomain`
options.

These options control the spacing between and padding inside status icons in the
menu bar. With these options, it's possible to squeeze more items on the menu
bar, something that's especially useful on machines with a notch.

This is a copy of #872, which was closed without being merged.

Co-Authored-By: Rob Harrop <rob@robharrop.dev>
2025-09-17 09:51:34 +02:00
Michael Hoang
830b3f0b50
Fix typo in Nix module (#1585)
Some checks failed
Test / test-stable (push) Has been cancelled
Test / install-against-stable (push) Has been cancelled
Test / install-flake (push) Has been cancelled
Update website / Build (push) Has been cancelled
Update website / Deploy (push) Has been cancelled
2025-09-09 15:02:04 +00:00
Luc Perkins
55106a887e
Fix typo in Nix module 2025-09-09 16:38:50 +02:00
Michael Hoang
15f067638e
github-runner: fix the nodeRuntimes option (#1582) 2025-09-06 03:54:02 +00:00
Michael Hoang
d7c9b35913
github-runner: add support for node24 (#1573) 2025-09-06 03:51:15 +00:00
Sam
eaacfa1101
apply should return null if the argument is not a list (#1581) 2025-09-04 19:58:58 +00:00
Nathan Henrie
349b2c66a9 apply should return null if the argument is not a list
Fixes https://github.com/nix-darwin/nix-darwin/issues/1578
2025-09-04 13:34:55 -06:00
Sander
165ff3069d
tests: remove placeholder package override in github-runner test 2025-08-29 13:34:15 +02:00
Sander
f910ac37b6
github-runner: fix the nodeRuntimes option
The conditional override was intended to be backwards-compatible with older runner packages without the `nodeRuntimes` argument.
However, `override` doesn't yield default arguments, so the override was never applied.

This commit removes the conditional entirely since `nodeRuntimes` was added back in 24.05.
2025-08-28 12:51:30 +02:00
Sam
8df64f8196
Application 'linking' done right (#1396) 2025-08-22 01:17:29 +00:00
Sam
3a0a38a1e7
launchd+defaults: Escape XML generated by toPlist (#1529) 2025-08-21 04:49:33 +00:00
Sander
7d6644bdb6
github-runner: add support for node24 2025-08-18 16:45:51 +02:00
Sam
7220b01d67
programs/fish: add shellAbbrs config (#1563) 2025-08-15 16:23:30 +00:00
Sam
f5ad8e3e76
ci: bump macOS version (13 -> 14) (#1569) 2025-08-15 15:57:17 +00:00
Sam
585cd058e8
ci: bump macOS version (13 -> 14)
The runners from macOS 14 on default to aarch64, so this will also
transition us away from x86_64
2025-08-14 20:53:51 -07:00
Elliot
6f24595362
fish: add shellAbbrs config
Co-authored-by: Sam <30577766+Samasaur1@users.noreply.github.com>
2025-08-14 14:56:43 +08:00
Linnnus
f0b44d6854 Add eval warning 2025-08-09 17:39:49 +02:00
Linnnus
23acc59c99 Update tests
Tests that search for specific commands in the generated activation
script obviously need updating.
2025-07-01 21:05:30 +02:00
Linnnus
66911b7d16 Remove manual escaping 2025-07-01 21:04:57 +02:00
Linnnus
423929a533 Escape XML generated by toPlist 2025-07-01 18:50:11 +02:00
Sam
e04a388232
readme: bump nixpkgs stable version; update flake guide (#1521) 2025-06-30 20:05:18 +00:00
iLillie
a79b28f2fa readme: update flake guide 2025-06-30 17:12:57 +02:00
iLillie
b866fbb28b readme: bump nix stable version 2025-06-30 17:12:14 +02:00
Sam
425c929e20
github-runner/service.nix: fix missing argument in workDir assertion (#1526) 2025-06-30 07:55:51 +00:00
Tom McLaughlin
7f9694a4be github-runner/service.nix: fix missing argument in workDir assertion 2025-06-29 13:43:52 -07:00
Sam
1dd19f19e4
nix.nixPath: Do not use environment.darwinConfig if set to null (#1469) 2025-06-22 18:56:08 +00:00
Emily
bffbd4a6c4
networking.applicationFirewall: init (#1520) 2025-06-22 18:43:41 +00:00
Sizhe Zhao
f2457a22c8
systems.defaults.alf: deprecate 2025-06-23 00:46:57 +08:00
Sizhe Zhao
caa59bf50a
networking.applicationFirewall: init 2025-06-23 00:46:57 +08:00
Sam
04a3412801
homebrew: allow setting greedy for all casks by default (#1382) 2025-06-22 06:00:51 +00:00
Michael Hoang
ff139e8183
Remove deprecated homebrew tap example (homebrew/cask-fonts) (#1515) 2025-06-22 02:18:14 +00:00
Michael Hoang
be2d7d6535 applications: ensure sufficient permissions before updating apps 2025-06-21 14:54:32 +07:00
‮rekcäH nitraM‮
1f9cca7781 Copy applications instead of linking them to make macOS happy
All existing attempts fell short.
So we fall back to plain old copying applications over.

Problems with alternatives:

- Symlinking: Spotlight doesn't index symlinks. Therefore one cannot use
Spotlight to find or open the apps. Also they don't show up in
LaunchPad.

- Trampolines: Apples Security & Privacy doesn't get the concept and
shows them with the wrong name. Having an app open during an update will
also make it show up twice in the Dock.

- Aliasses: Require either AppleScript (a permission we don't want to
have, as it easily bypasses Apples TCC) or extra tools (that would be
ok), but also Aliasses are not categorized as 'Application' by
SpotLight.

- Directory Hardlinks are not supported by APFS - but also wouldn't work
cross volume.

- clonefile also doesn't work cross-volume.

Which all leads us back to Don Copine and Pastone. *sigh*
2025-06-21 14:54:32 +07:00
‮rekcäH nitraM‮
21d733a51f applications: reformat 2025-06-21 14:54:24 +07:00
Michael Hoang
0d71cbf88d
programs/ssh: backport knownHosts changes (#1517) 2025-06-19 09:27:36 +00:00
Michael Hoang
82566dd254 programs/ssh: remove with lib; 2025-06-19 16:08:37 +07:00
Michael Hoang
a991859d1f nixos/ssh: undeprecate knownHosts.«name».hostNames
Backport e9f17a9f45

Co-authored-by: pennae <github@quasiparticle.net>
2025-06-19 16:08:09 +07:00
Michael Hoang
9d5b27bc93 modules/programs/ssh: knownHosts -> extraKnownHosts
Backport 8fa2e787f1

Co-authored-by: Taeer Bar-Yam <taeer@bar-yam.me>
2025-06-19 16:07:11 +07:00
Michael Hoang
2d257c09a1 programs.ssh.knownHosts: update example to be an attrset
Backport 4f11c06fac

Co-authored-by: Florian Klink <flokli@flokli.de>
2025-06-19 16:05:09 +07:00
Michael Hoang
04b04f4b9d programs/ssh: move to match path in NixOS 2025-06-19 10:45:32 +07:00
Garrett Hopper
f67a4856c3 Update homebrew module documentation and examples
- Replace deprecated homebrew/cask-fonts with apple/apple tap example
- Update documentation links from archived homebrew-bundle to brew.sh/Brew-Bundle-and-Brewfile
- Update source file references to new location in main brew repository
2025-06-17 05:52:35 -05:00
Sam
2f140d6ac8
Preserve PATH variable when using sudo for Homebrew (#1503) 2025-06-14 04:00:26 +00:00
Brian Romanko
0721726e21
Wrap the call with env 2025-06-13 16:49:58 -07:00
Brian Romanko
300af6fcc5
Preserve PATH variable when using sudo
Some systems set `secure_path` in sudoers. When this is set
the `PATH` variable is not set in the sudo environment. Using
`--preserve-env=PATH` ensures that the PATH env var is set properly
in those systems.

This is similar to the issue with [darwin-rebuild](https://github.com/nix-darwin/nix-darwin/issues/798)
not working with sudo on these systems.
2025-06-13 16:49:57 -07:00
Emily
72c88d5928
Avoid confusing users with future deprecations (#1499) 2025-06-12 14:47:19 +00:00
Sam
e2da3338ab
etc: add known hashes for zprofile and zshrc in macOS 26 beta 1 (#1510) 2025-06-12 06:51:43 +00:00