1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-06 08:47:00 +00:00
Commit graph

116 commits

Author SHA1 Message Date
Piotr Limanowski
7a7cbdc165 initialise fonts module 2018-09-30 13:22:24 +02:00
Daiderd Jordan
7750896cc7
checks: update and improve darwin-config message
Now that environment.darwinConfig exists it's a better choice otherwise
multiple NIX_PATH entries need to be added.
2018-08-26 14:47:40 +02:00
Daiderd Jordan
a893723b95
activation: fix missing /sbin entries in PATH 2018-08-01 21:08:13 +02:00
Kirill Elagin
26bab2fd32 installer and activation: Sanitise PATH
This makes sure that the installation and activation processes are “pure”,
i.e. they use only binaries from nixpkgs or ones that come with macOS.

Closes #86.
2018-06-29 18:51:41 +03:00
Daiderd Jordan
cd049bfdf6
nix: use pkgs.nix by default instead of the default profile
This fixes version detection for 2.0.
2018-03-29 21:10:18 +02:00
cmacrae
9a1499b128 defaults: set screencapture.location's default to null 2018-03-01 13:20:16 +00:00
cmacrae
55f4331e73 defaults: Add screencapture.location 2018-02-27 17:24:45 +00:00
Daiderd Jordan
693c89f867
launchd: run unload without -w
The service will be removed anyway.
2018-01-29 23:14:47 +01:00
Daiderd Jordan
dc33fe3d89
system: use preferLocalBuild for simple derivations
Most of the builds like system.build.etc will be faster when built
locally, they also don't depend on CC.
2018-01-21 13:46:30 +01:00
Daiderd Jordan
9454e409b7
checks: fail when db permissions are wrong 2018-01-18 00:12:38 +01:00
Daiderd Jordan
c0f913d2ae
checks: rename file 2018-01-17 23:28:54 +01:00
Daiderd Jordan
e3281c90cf
defaults: move com.apple.smb.server to /activate
Currently fails with permission errors.
2018-01-17 23:10:57 +01:00
Daiderd Jordan
81bdd38e8d
defaults: add ServerDescription for sharing services 2018-01-17 22:36:06 +01:00
Daiderd Jordan
bd220c453d
launchd: unlink services 2018-01-15 08:51:03 +01:00
Daiderd Jordan
29f9fb52b3
activation-scripts: include system in PATH
This makes rollback more reliable by using the same version of tools
that where used previously. For example nix is used during the
activation checks.
2018-01-14 22:02:27 +01:00
Daiderd Jordan
243651e398
checks: add test for /run 2018-01-13 22:50:48 +01:00
Daiderd Jordan
f6b9e43a84
checks: add /etc/profile check from bootstrap script 2018-01-13 19:45:57 +01:00
Daiderd Jordan
ad3891f07a
etc: skip warning when target has references to /etc/static 2018-01-13 18:10:48 +01:00
Daiderd Jordan
174a36a296
activation: rename pre/post hooks
Renamed extraPostActivation and extraUserPostActivation.
2018-01-13 17:12:02 +01:00
Daiderd Jordan
789623213e
checks: impure darwin-config error message 2018-01-13 15:40:07 +01:00
Daiderd Jordan
bf72128177
toplevel: don't depend on NIX_PATH for the CHANGELOG 2018-01-13 14:20:13 +01:00
Daiderd Jordan
b8713d540c
users: add options for user creation 2018-01-13 13:42:49 +01:00
Daiderd Jordan
b593f31822
users: add options to create user groups 2018-01-13 02:01:15 +01:00
Daiderd Jordan
2989a747db
keyboard: add option for remapping Tilde on non-us keyboards 2018-01-10 19:57:23 +01:00
Daiderd Jordan
d05229ca0d
keyboard: add warning when enableKeyMapping is not set 2018-01-08 22:04:32 +01:00
Daiderd Jordan
edc3be51ce
keyboard: add options for keyboard mappings
Fixes #55
2018-01-08 22:01:44 +01:00
Daiderd Jordan
3bedff357a
etc: make link warnings more noticable
Hopefully this helps to make it more obvious that the file will not be
created by nix-darwin. See #65
2018-01-08 19:08:02 +01:00
Daiderd Jordan
52cf461055
Merge pull request #62 from pjan/enh/NSGlobalDomain
Adds more NSGlobalDomain options + tests
2018-01-05 18:36:13 +01:00
Daiderd Jordan
7eb4e21075
defaults: add option for NetBIOSName 2018-01-05 00:16:09 +01:00
Daiderd Jordan
3dfc5da1e7
remove unused file 2018-01-05 00:06:14 +01:00
pjan vandaele
01692f870b Adds more NSGlobalDomain options + tests 2018-01-04 11:59:50 +09:00
Daiderd Jordan
f63f4fe3fb
nix: reload daemon when nix.conf changes 2018-01-03 20:10:24 +01:00
John Wiegley
e8a0378790 Allow for postActivation scripts, that happen last 2018-01-02 12:36:34 -08:00
pjan vandaele
1d8c5d9b79 fix + tests 2018-01-01 09:20:27 +09:00
pjan vandaele
d7e67ce030 float type 2017-12-31 12:15:22 +09:00
pjan vandaele
6aec3fbb50 Adds attrs type for defaults. Adds additional Dock settings. 2017-12-28 12:23:29 +09:00
Daiderd Jordan
ba7202e789
environment-shells: add option to manage /etc/shells 2017-12-13 23:02:11 +01:00
Daiderd Jordan
2c6f80380f
improve git revision detection
lib.pathIsDirectory doesn't follow symlinks causing the git revision
detection to fail if NIX_PATH points to a symlink.
2017-12-03 18:22:48 +01:00
Daiderd Jordan
c4e213745a
security-accessibility: remove options
The accessibility database has been protected with SIP since macOS
10.12 and there doesn't seem to be another way to configure this
programmatically.
2017-11-29 00:14:31 +01:00
Daiderd Jordan
e8355cdd93
system-build: change type of setEnvironment and setAliases
On NixOS system.build.setEnvironment also is a writeText
2017-10-07 12:41:33 +02:00
Jamie Rolfs
3c447cfa00
Add 'TrackpadThreeFingerDrag' setting to trackpad module 2017-10-03 14:16:30 -07:00
Jamie Rolfs
cc279e8a04
Write trackpad preferences to non-bluetooth namespace as well 2017-10-03 14:16:23 -07:00
Daiderd Jordan
36ba568fc4
system-version: add assertioon for stateVersion 2017-10-01 17:00:44 +02:00
Daiderd Jordan
cf9f74596a
system-version: add system.stateVersion option 2017-10-01 16:37:51 +02:00
Daiderd Jordan
9f0507cf7d
activation-checks: add check for user channels 2017-09-06 23:56:45 +02:00
Daiderd Jordan
184e9f34be
nix: include user channels in NIX_PATH 2017-09-06 23:39:15 +02:00
Daiderd Jordan
a7fe548f63
activation-checks: improve NIX_PATH warnings 2017-08-07 20:09:59 +02:00
Daiderd Jordan
c24f744cd3
activation-checks: show initial changelog 2017-08-01 22:59:19 +02:00
Daiderd Jordan
40eb1292aa Merge pull request #31 from clhodapp/nix-apps-dir
Make symlink within ~/Applications if it exists instead of skipping
2017-07-24 22:21:00 +02:00
Daiderd Jordan
0e6e71bc60
activation-checks: fix nixpkgs instructions 2017-07-24 19:31:57 +02:00