Austin Horstman
567bae1e17
defaults: expose-group-by-app -> expose-group-apps
...
Default was renamed in previous macOS release.
2024-12-01 19:12:41 -06:00
Beta-Computer
09e5dfb67e
defaults: add EnableTiledWindowMargins
option
...
Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com>
2024-12-01 20:40:59 +11:00
Aiden Scandella
25e0b6064e
system: fix detection and ownership of /etc/synthetic.conf
...
This file is owned by root and mode 600 on my system, so the grep is
failing and it's adding a new entry every run.
```sh
-rw------- 1 root wheel 664 Nov 25 15:52 /etc/synthetic.conf
```
2024-11-25 21:40:13 -08:00
Michael Hoang
57c144515a
system: always add /run to /etc/synthetic.conf on macOS 10.15 onwards
...
Currently if nix-darwin is uninstalled then reinstalled without
rebooting, then the `/run` symlink will still remain and nix-darwin
won't readd `run` to `/etc/synthetic.conf` meaning the system will be
broken on next reboot.
2024-11-21 10:13:16 +11:00
isabel
fece297d64
fix: allow users to disable the homebrew check
2024-11-19 10:11:23 +00:00
Michael Hoang
34588d57cf
Merge pull request #879 from jtt9340/spaces-in-nixpath
...
fix broken NIX_PATH if paths contain spaces
2024-11-17 02:04:32 +00:00
Michael Hoang
6d794390fa
checks: check single user installs don't have the nix-daemon
enabled
...
Remove suggestion to set `nix.useDaemon` as it came without an
explanation of how the `nix-daemon` would be unmanaged and would most
likely lead to most users running an old version of Nix as the daemon.
2024-11-16 23:19:11 +11:00
Joey Territo
9077d812d8
activate-user script: fix broken NIX_PATH if paths contain spaces
2024-11-13 22:24:48 -06:00
Ameya Shenoy
67fbc7aa24
checks: add check to ensure Homebrew is installed
...
Co-Authored-By: Michael Hoang <enzime@users.noreply.github.com>
2024-11-13 09:53:17 +11:00
Lucas Mendes Loureiro
32df51bf2b
fix(defaults): fixing #1107
2024-11-12 14:37:26 +00:00
Lucas Mendes Loureiro
d71aa30b41
feat(defaults): adding support to control center
2024-11-12 09:48:21 +00:00
Michael Hoang
fd510a7122
system: replace for f in $(ls ...)
with for f in .../*
...
Fixes SC2045 but has one quirk which is if the bash glob doesn't match
anything it'll treat it as a string and run the loop once with
`f=.../*` so we need to check that `$f` actually exists.
2024-11-07 17:20:00 +11:00
Michael Hoang
041996803a
treewide: fix shellcheck warnings and errors
2024-11-07 17:20:00 +11:00
Michael Hoang
9afef9950f
checks: move manual /run
instructions to activation
2024-11-07 17:15:22 +11:00
Michael Hoang
3ea1144938
system: run shellcheck
on activate
and activate-user
scripts
2024-11-07 17:15:22 +11:00
Michael Hoang
146629a543
Merge pull request #1125 from aschleck/new-window-path
...
Configure the folder that new Finder windows open
2024-11-03 10:19:55 +11:00
April Schleck
21809c4261
Allow configuring the fn key action
2024-11-02 09:04:53 -07:00
April Schleck
0dacfdea63
Configure the folder that new Finder windows open
2024-11-02 08:53:08 -07:00
Michael Hoang
55be3e1a5f
users: move checks to system.checks
2024-10-27 21:52:41 +11:00
Michael Hoang
dc6f754fe5
users: allow shell
to be managed by macOS
2024-10-27 21:52:41 +11:00
Philip Børgesen
f737259769
power,sleep: Add options to control restart and sleep behavior
2024-10-24 06:13:11 +02:00
Michael Hoang
a001f44cfc
Merge pull request #992 from emmceemoore/software-update-fix
...
Use the correct file location for `SoftwareUpdate` plist.
2024-10-20 11:07:25 +11:00
Michael Hoang
d32e6de094
defaults: don't output Dock PID
2024-10-09 21:57:33 +11:00
isabel
a42623df7a
fix: remove deprecated lib.mdDoc
2024-09-30 15:12:13 +01:00
Michael Hoang
4b43b68281
Merge pull request #1094 from rogeruiz/rogeruiz/add-slow-motion-allowed-for-dock
...
Adding option for slow-motion-allowed
2024-09-29 20:08:41 +10:00
Roger Steve Ruiz
f9ee41a05d
Adding option for slow-motion-allowed;
...
This was inspired by a recent Daring Fireball post where I was reminded about
this feature and how it's missing from being able to configure it in Nix-Darwin.
[https://daringfireball.net/linked/2024/09/28/hidden-pref-to-restore-slow-motion-dock-minimizing-on-macos ]()
2024-09-28 23:28:34 -05:00
Michael Hoang
c03f85fa42
Merge pull request #1057 from niklasravnsborg/master
...
Adjust default options
2024-09-19 17:45:53 +07:00
Emily
6374cd7e50
Merge pull request #1084 from emilazy/push-xysppwqymotu
...
checks: show Sequoia migration commands for other installers
2024-09-18 00:44:40 +01:00
Emily
ef16775e43
checks: show Sequoia migration commands for other installers
...
This is hopefully largely cosmetic, but should increase user
confidence in the safety and effectiveness of the migration, and the
Determinate Systems and Lix installer commands will also update the
`/nix/receipt.json` files to match the changes made. They cannot
properly handle the format of each other’s receipts, so we need to
detect which was used.
2024-09-17 22:20:48 +01:00
Niklas Ravnsborg
2841f49631
fix description typo in dock.nix
2024-09-16 10:54:06 +02:00
Niklas Ravnsborg
3d48a9893a
add finder._FXSortFoldersFirst
option
2024-09-16 10:54:05 +02:00
Niklas Ravnsborg
3b087efcbd
add NSGlobalDomain.AppleSpacesSwitchOnActivate
option
2024-09-16 10:54:05 +02:00
Emily
04e3cfc822
version: make system.stateVersion
mandatory
...
When testing the Sequoia UID change, I discovered that @mjm
didn’t have `system.stateVersion` set; I suspect this is not too
uncommon. Let’s make it required now, like NixOS is trying to,
to improve our backwards‐compatibility story in anticipation of
starting to cut release branches.
2024-09-12 18:35:10 +01:00
Emily
88b97aa49c
{ids,checks}: update for new builder UID/GID values
2024-09-11 01:17:01 +01:00
Emily
9c60c95008
checks: make oldBuildUsers
check fail hard
...
Checking for the Sequoia stuff won’t work properly if a system is
still in this old state. Best to be loud about it to deal with any
straggler systems that haven’t yet dealt with this issue.
2024-09-11 00:37:08 +01:00
Emily
2af5f0fb9e
checks: factor out nix.useDaemon
check
2024-09-11 00:37:08 +01:00
natsukium
ec76c31dbd
checks.nix: fix typo
2024-09-10 22:20:22 +09:00
Michael Hoang
076b9a905a
Merge pull request #1026 from thecaralice/nochan
...
Allow disabling channels
2024-08-17 11:59:09 +10:00
Alice Carroll
691a590bff
feat: allow disabling channels
2024-08-17 02:51:01 +03:00
Maxime Daffis
636d1a09d8
(feature) Add swapLeftCtrlAndFn
...
Use this and never find yourself again hitting fn because of muscle
memory! (you can even physically swap the keycaps, at least on M series)
Keycodes have been pulled from https://hidutil-generator.netlify.app/
and the hex value has been converted to a base 10 int.
2024-08-05 13:00:32 +02:00
Maxime Daffis
3dd14e466c
(feature) Add Stage Manager (com.apple.WindowManager) settings as system.defaults.windowmanager
...
All credits go to @AlexOwl. Their [PR](https://github.com/LnL7/nix-darwin/pull/505 )
looked abandonned so I reported their changes and addressed the change
requests.
2024-08-02 01:17:45 +02:00
Emily
7e08a9dd34
Merge pull request #1018 from Enzime/fix/github-runners-work-dir
...
github-runners: move `workDir` outside of `/run`
2024-07-31 18:00:20 +01:00
Emily
0413754b3c
Merge pull request #1012 from Enzime/fix/dock-not-running
...
defaults: only restart Dock when user is logged in
2024-07-27 13:17:26 +01:00
Michael Hoang
a6903cf7e3
activation-scripts: add extra comment
2024-07-27 10:39:57 +10:00
Michael Hoang
a566238826
defaults: only restart Dock when user is logged in
2024-07-25 12:24:30 +10:00
347Online | Katie Janzen
be14a2add1
Add inline prediction option mirroring the capitalization option
2024-07-24 12:51:20 -05:00
Michael Hoang
a3e4a7b8ff
Merge pull request #999 from Enzime/restart-dock
...
defaults: restart Dock when changing settings
2024-07-18 12:43:02 +10:00
Michael Hoang
ce130f4b20
defaults: restart Dock when changing settings
2024-07-16 11:28:20 +10:00
Emily
cf297a8d24
Merge pull request #976 from emilazy/openssh-use-links-for-authorized-keys
...
ssh: use symlinks for `authorizedKeys` options
2024-07-10 09:17:22 +01:00
Mike Moore
4054d5caea
Use the correct file location for SoftwareUpdate
plist.
2024-07-02 09:40:18 -07:00