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
Daiderd Jordan
3ba909eb2d
version: add default darwinRevision
...
There's no channel for darwin so this can be unavailable if a tarball or
shallow clone is used.
2019-05-04 21:43:47 +02:00
Daiderd Jordan
ba29af7ae3
version: include darwin metadata in system label
...
This makes it possible to trace back what version of both darwin and
nixpkgs the system was built with.
2019-05-04 21:11:49 +02:00
Daiderd Jordan
23d8c6ca3d
documentation: add module for darwin manual
...
Fixes #72
2019-05-04 15:38:17 +02:00
Daiderd Jordan
58aa5bf185
nix: make nix.nixPath merge by default
...
Since named entries can be overridden now based on ordering now merging
is only a problem for removing one of the default search paths, in which
case a higher priority eg. mkForce can be used.
{
nix.nixPath = [{ darwin-config = "/darwin.nix"; }];
}
Will result in
[ "darwin-config=/darwin.nix" "/nix/var/nix/profiles/per-user/root/channels" "$HOME/.nix-defexpr/channels" ]
Fixes #137
2019-05-01 12:42:31 +02:00
Daiderd Jordan
2430e72100
Merge pull request #132 from ben-z/add-defaults-configs
...
Add defaults configs
2019-03-22 20:52:34 +01:00
Daiderd Jordan
b68f77b404
launchd: ensure user LaunchAgents exist
...
Apparently this doesn't exist by default, so make sure it's created
first.
Fixes #134
2019-03-22 20:48:58 +01:00
Ben Zhang
f17fb87fab
Add NSGlobalDomain configs
2019-03-02 21:51:13 -08:00
Ben Zhang
a08546158d
add trackpad configs: ActuationStrength, FirstClickThreshold, SecondClickThreshold
2019-03-02 21:50:48 -08:00
Daiderd Jordan
d00d00998e
darwin: replace usages of nix-instantiate --eval with --find-file
2019-02-24 22:27:41 +01:00
Daiderd Jordan
c48c4c701a
Merge pull request #121 from thefloweringash/channel-version-info
...
system-version: get version information from channels
2019-02-23 11:35:52 +01:00
Daiderd Jordan
4d892e7774
fonts: rewrite activation
...
The new implementation is a bit smarter and only updates fonts that
changed. But more importantly /run/current-system isn't used anymore
which breaks initial activation and installs the previous set of fonts
instead of the one in the new system.
Fixes #115
2019-02-17 11:31:40 +01:00