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

189 commits

Author SHA1 Message Date
Nicholas Coltharp
7a3f541d5c system.defaults: enable automatic light/dark mode 2021-08-06 18:43:03 -05:00
Jean-Francois Chevrette
db933d1d41
change inner double quotes to single quotes 2021-05-12 17:47:29 -04:00
Daiderd Jordan
5c3146b75d
users: migrate nixbld -> _nixbld
According to some investigation creating "role" accounts avoids
migration problems when upgrading to certain macOS versions, so create
the build users to match that definition and remove the old ones if
present.

    Role accounts require name starting with _ and UID in 200-400 range
2021-02-17 22:04:54 +01:00
Daiderd Jordan
3b28c4675a
Merge pull request #262 from malob/brew-bundle
Add Homebrew Bundle module
2021-02-17 18:46:15 +01:00
Daiderd Jordan
3cf11923eb
use --dry-run check to re-apply system patches 2020-12-19 11:56:51 +01:00
Malo Bourgon
e1425db70d Move programs.brew-bundle to homebrew 2020-12-17 13:03:57 -08:00
Malo Bourgon
31b0d5cb59 Move brew-bundle activation to user 2020-12-08 10:33:46 -08:00
Malo Bourgon
c3bddd3e91 Add Homebrew Bundle module 2020-12-08 09:47:52 -08:00
Daiderd Jordan
6c6eb8ace6
Merge pull request #254 from stephank/fix-shells
Add /bin/dash to shells
2020-11-26 20:09:13 +01:00
Daiderd Jordan
e1064b0c69
Merge pull request #251 from awseward/awseward/SwipeNavigateWithScrolls
Add options for MacOS swipe navigation
2020-11-26 19:53:08 +01:00
Stéphan Kochen
d0d89fda1d Add /bin/dash to shells 2020-11-21 20:07:26 +01:00
Daiderd Jordan
c6f44ea7ff
installer: handle apfs.util on macOS 11.0 Big Sur
The flages of apfs.util changed in 11.0 so try both cases.

Fixes #249
2020-11-15 15:17:13 +01:00
Andrew Seward
5d0ed66ba9 Add options for swipe navigation
One for trackpad, one for mouse. I don't know much about the mouse side
of things, but thought I'd at least include it to be comprehensive.
2020-11-14 22:51:54 -08:00
Daiderd Jordan
74eb216078
remove nix 1.x config compatibility 2020-10-25 15:56:29 +01:00
Daiderd Jordan
0dba44e04c
disable NIX_PATH checks when using flakes 2020-10-25 12:56:39 +01:00
Daiderd Jordan
1216e9e0aa
split out flake overrides into a separate module 2020-10-25 12:55:55 +01:00
c4710n
bf0ac204bd add new option - system.keyboard.swapLeftCommandAndLeftAlt 2020-10-23 22:47:38 +08:00
Daiderd Jordan
4a31cba84c
add flake versions 2020-10-21 18:30:56 +02:00
Daiderd Jordan
db82d8b9af
clarify store/state permission check 2020-10-18 23:31:38 +02:00
Daiderd Jordan
d888bdf3dd
Merge pull request #224 from marsam/remove-types.loaOf
Remove deprecated types.loaOf
2020-09-12 09:37:50 +02:00
Daiderd Jordan
28079f6d0f
Merge pull request #225 from zachcoyle/add-trackpad-dragging-default
Add trackpad dragging default
2020-09-12 09:32:47 +02:00
Zach Coyle
b8a2fd1c18
Add trackpad dragging default 2020-09-05 11:06:56 -04:00
Mario Rodas
a34dea283c Remove deprecated types.loaOf
types.loaOf has been deprecated for a long time and is now in the
process of removal. See: https://github.com/NixOS/nixpkgs/pull/96042
2020-09-02 04:20:00 +00:00
Jason Felice
e038c50316 Enable setting dark mode
This option does not take effect until the user logs out and then
back in.  I didn't call this out because I think there are several
options like this already.

I'm not sure Mac OS sets "Auto", but it isn't by setting this default.
2020-08-28 16:09:47 -04:00
Daiderd Jordan
b22481d03a
etc: allow replacing files with known content
This enables replacing existing system files like /etc/bashrc by default
while keeping the safer behaviour for other files like /etc/passwd, etc.
that could potentially cause major problems for the system when replaced.
2020-06-17 19:23:31 +02:00
pjan vandaele
e7e49119bb Adds com.apple.finder CreateDesktop defaults to enable/disable desktop 2020-06-03 17:39:58 +08:00
Daiderd Jordan
f55568ea4e
system: cleanup patches activation 2020-05-29 22:54:25 +02:00
Daiderd Jordan
77121650d4
system: add patches module 2020-05-29 21:29:20 +02:00
Nejc Zupan
c4970fbc4e
Be nicer 2020-04-12 18:21:07 +01:00
Nejc Zupan
a67e6977c4
Add support for system.defaults.screencapture.disable-shadow 2020-04-12 18:18:46 +01:00
Daiderd Jordan
80a8a591a9
installer: try creating /run using synthetic.conf
Since macOS 10.15 Catalina / can't be changed directly anymore.

Fixes #166
2020-03-28 19:12:21 +01:00
Daiderd Jordan
a14315c96e
Merge pull request #175 from treffynnon/more-system-defaults
[system.defaults] more sound, firewall/alf, spaces, loginwindow, SoftwareUpdate
2020-01-21 12:22:17 +01:00
Daiderd Jordan
7175f52860
Merge pull request #182 from wildsebastian/fix_commitIdFromGitRepo_call
Remove trailing slash from path in commitIdFromGitRepo call
2020-01-15 11:07:12 +01:00
Sebastian Wild
78f931cb53
Remove trailing slash from path
A change of `commitIdFromGitRepo` in nixpkgs/lib/sources.nix
resulted in the error message
"attribute '.git' missing at nixpkgs/lib/sources.nix:7:32" when
executing darwin-rebuils switch.
The commit with the change is
c9214c394b

Removing the trailing slash resolves the error.
2020-01-15 09:17:33 +01:00
cmacrae
11e6e68c99 defaults: introduce NSGlobalDomain option for "_HIHideMenuBar" 2020-01-01 20:51:31 +00:00
Simon Holywell
39bc7bb131
fix autologin name docs 2019-11-04 15:28:38 +10:00
Simon Holywell
42c8f9bce3
adds com.apple.SoftwareUpdate 2019-11-04 14:54:31 +10:00
Simon Holywell
6100c826d4
adds com.apple.loginwindow 2019-11-04 14:35:56 +10:00
Simon Holywell
626a112ce3
adds com.apple.spaces 2019-11-04 14:35:21 +10:00
Simon Holywell
400a367d4e
adds com.apple.alf 2019-11-04 14:06:28 +10:00
Simon Holywell
47a7731943
adds com.apple.sound.beep.feedback 2019-11-04 12:49:09 +10:00
Simon Holywell
8e90853f17
adds com.apple.sound.beep.volume 2019-11-04 12:39:47 +10:00
Daiderd Jordan
be7f25b3f9
Merge pull request #155 from toonn/defaults-write-GlobalPreferences
Add defaults write for the alert sound
2019-09-01 09:58:01 +02:00
toonn
88d27c62d5 Add defaults write for the alert sound
Found in `System Preferences`->`Sound`->`Sound Effects`, the default is `Funk`.
2019-08-19 16:02:59 +02:00
Jason Felice
c3d9dceede Allow configuring external keyboard to use standard F-keys 2019-07-22 11:05:48 -04:00
Daiderd Jordan
a5e3dbb8a4
launchd: don't disable services when unloading 2019-07-01 23:44:21 +02:00
Daiderd Jordan
4bffc92b7a
nix: check nix.useDaemon value
This case will cause problems when existing files in /etc are replaced
instead of skipped with a warning, potentially breaking the nix install
in the process.
2019-07-01 22:37:03 +02:00
Daiderd Jordan
8c2b25e60d
nix: fix useDaemon conditions
The nix.useDaemon option enables using a multi-user install without
managing the nix installation with nix-darwin.  The following checks
apply to both cases.
2019-07-01 21:24:29 +02:00
Daiderd Jordan
d56312be06
activation-scripts: create /run
In case this was removed or not bootstrapped by the installer.
2019-06-05 23:10:07 +02:00
Daiderd Jordan
7941b13682
version: fix description 2019-06-05 21:45:47 +02:00