1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-15 17:51:01 +00:00
Commit graph

262 commits

Author SHA1 Message Date
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
Daiderd Jordan
4281f777d7
activation-checks: don't fail before showing error message 2017-07-24 19:29:31 +02:00
Daiderd Jordan
0ee39eb06a
activation-checks: fix changelog diff 2017-07-23 19:22:40 +02:00
Daiderd Jordan
6a2715dcb6
activation-checks: remove set +e 2017-07-23 19:07:04 +02:00
Daiderd Jordan
b5e0b273c4
darwin: show CHANGELOG during activation 2017-07-23 18:56:37 +02:00
Daiderd Jordan
7845fd0423
activation-checks: fix evaluation 2017-07-23 18:27:01 +02:00
Daiderd Jordan
6d91e5b565
darwin: add --check flag 2017-07-23 18:02:08 +02:00
Daiderd Jordan
e4a11b2073
activation-checks: add NIX_PATH check for nixpkgs 2017-07-23 17:51:17 +02:00
Daiderd Jordan
345d9ffa0e
activation-checks: add NIX_PATH check for darwin-config 2017-07-23 17:51:17 +02:00
Daiderd Jordan
05d8495ed8
activation-checks: add NIX_PATH check for darwin 2017-07-23 17:51:06 +02:00
Daiderd Jordan
8016f1e2fd
add activation-checks 2017-07-23 16:05:46 +02:00
Piotr Limanowski
8fe2cff0cc
Adds an idea for networking module
The idea is to follow: https://nixos.org/nixos/options.html#networking so we can
share even more configuration ideas from NixOS.
2017-07-05 22:17:58 +02:00
Daiderd Jordan
5e61ca9fb4 Merge pull request #35 from dirn/smart-periods
Add support for smart period substitution
2017-06-26 20:31:31 +02:00
Daiderd Jordan
7682413824 Merge pull request #34 from dirn/autocapitalization
Add support for autocapitalization
2017-06-26 20:30:24 +02:00
Andy Dirnberger
705ab0bcf2
Add support for smart period substitution
Signed-off-by: Andy Dirnberger <andy@dirnberger.me>
2017-06-25 17:03:28 -04:00
Andy Dirnberger
725fac8eff
Add support for autocapitalization
Signed-off-by: Andy Dirnberger <andy@dirnberger.me>
2017-06-25 16:55:37 -04:00
Andy Dirnberger
ad4acf558f
Add support for Dock icon size
Signed-off-by: Andy Dirnberger <andy@dirnberger.me>
2017-06-25 16:38:48 -04:00
Chris Hodapp
b26b1e89c1 Make symlink within ~/Applications if it exists instead of skipping 2017-06-14 13:12:12 -07:00
Daiderd Jordan
d703c39421
launchd: hide 'No such file or directory' messages with first activation 2017-06-03 00:15:27 +02:00
Daiderd Jordan
cee2bb93cc
applications: fix activation 2017-05-20 14:38:32 +02:00
Daiderd Jordan
290b1d8aad
system-packages: link applications to ~/Applications 2017-05-20 14:23:05 +02:00
Daiderd Jordan
cf3c3cb082
security: add option to configure accessibilityPrograms 2017-05-16 00:10:21 +02:00
Daiderd Jordan
1b6f56f5b8
environment: include /usr/sbin and /sbin in systemPath
Don't extend initial PATH adding extra entries should be done through
appending environment.systemPath or manually extending it with
environment.extraInit or similar options.
2017-05-15 19:46:34 +02:00
Daiderd Jordan
264a9237dd
launchd: add options for setting launchd environment variables
Fixes #12
2017-05-14 00:34:34 +02:00
Daiderd Jordan
e9cf765076
activation-scripts: run custom activation scripts first 2017-05-13 23:32:02 +02:00
Daiderd Jordan
d61f3ff621
launchd: add logging to activation scripts 2017-05-13 16:42:18 +02:00
Daiderd Jordan
16cbb8f6a1
launchd: fix reload of services 2017-05-13 16:27:54 +02:00
Daiderd Jordan
00315bcc9e
launchd: don't use $HOME 2017-05-11 23:43:05 +02:00
Daiderd Jordan
8cb11d968f
launchd: remove double slashes in paths that use $HOME 2017-05-11 23:19:03 +02:00
Daiderd Jordan
a2843f8192
launchd: fix activation diff 2017-05-11 21:47:34 +02:00
Daiderd Jordan
93581740af
launchd: unload and stop disabled services 2017-05-11 21:27:06 +02:00
Daiderd Jordan
2e93c9ca29
activation-scripts: don't link current system before all activationScripts finish 2017-03-04 19:41:13 +01:00
Daiderd Jordan
74c27037e6
nix-daemon: check for nixbld group before activation
Fixes #9
2017-02-19 13:30:26 +01:00
Daiderd Jordan
0cbdc2f8f9
launchd: add user agents 2017-01-25 22:35:06 +01:00
Daiderd Jordan
5a5ec9ac42
nix.distributedBuilds: create directory for current load 2017-01-09 22:30:15 +01:00
Daiderd Jordan
4581746213
programs.zsh: export variables in zshenv 2017-01-08 22:56:16 +01:00
Daiderd Jordan
4c7f6b61bc
add support for assertions and warnings 2017-01-08 13:11:02 +01:00
Daiderd Jordan
e847283311
environment.etc: improve activation 2017-01-02 20:09:54 +01:00
Daiderd Jordan
6305c0675f
move write-text submodule 2017-01-02 08:21:54 +01:00
Daiderd Jordan
66f249f22a
add /etc/static path to warning messages 2016-12-19 21:53:14 +01:00
Daiderd Jordan
698713f2d9
improve launchd activation 2016-12-19 21:50:22 +01:00
Daiderd Jordan
58e4f7d0cf
use nixpkgsVersion as default system.darwinLabel 2016-12-19 21:09:10 +01:00
Daiderd Jordan
807872e8f3
add extra activation scripts 2016-12-19 20:31:59 +01:00
Daiderd Jordan
345941b4d8
add time.timeZone option 2016-12-16 12:20:28 +01:00
Daiderd Jordan
8ffe2020dd
fix etc files in directories 2016-12-15 14:08:48 +01:00
Daiderd Jordan
8a654cf2d9
add trackpad options for system.defaults 2016-12-14 16:38:59 +01:00
Daiderd Jordan
8b3cf21d87
add finder options for system.defaults 2016-12-14 16:30:55 +01:00
Daiderd Jordan
b14ce1fdf2
add dock options for system.defaults 2016-12-14 16:22:39 +01:00
Daiderd Jordan
d64ce165b7
add description for LSQuarantine 2016-12-14 16:03:05 +01:00
Daiderd Jordan
e6e79e53cc
add some more options for system.defaults 2016-12-14 15:01:32 +01:00
Daiderd Jordan
3025f6a42a
add description for keyboard options 2016-12-14 13:30:46 +01:00
Daiderd Jordan
a48cc8ac5f
move system.defaults to separate files 2016-12-14 13:05:23 +01:00
Daiderd Jordan
6af52615ed
add activate-user script 2016-12-14 12:32:20 +01:00
Daiderd Jordan
7a6ee11373
generalize system.defaults activation 2016-12-13 23:07:11 +01:00
Daiderd Jordan
8708ebb796
move nix-tools out of nix expression 2016-12-12 17:34:43 +01:00
Daiderd Jordan
033499c0ed
only activate system profile with sudo 2016-12-07 23:06:18 +01:00
Daiderd Jordan
7b3ace08c5
add service module for system activation 2016-12-04 10:38:21 +01:00
Daiderd Jordan
9a5af2ee4a
fix system activation service 2016-12-03 22:44:36 +01:00
Daiderd Jordan
61a91d3c99
improve system activation 2016-12-02 23:54:46 +01:00
Daiderd Jordan
12aa7e5815
added missing launchd activation 2016-12-02 08:34:05 +01:00
Daiderd Jordan
fecd4bc368
improve launchd activation scripts 2016-12-01 23:56:20 +01:00
Daiderd Jordan
d82c472ab0
add initial support for system defaults 2016-12-01 21:34:37 +01:00
Daiderd Jordan
8b8cab4e81
add programs.tmux.enableFzf option 2016-11-07 22:47:17 +01:00
Daiderd Jordan
81b8a44e40
add /Library/LaunchDaemons to system 2016-11-07 21:00:23 +01:00
Daiderd Jordan
43495a4961
added activation script for launchd.daemon.nix-daemon 2016-11-06 23:53:08 +01:00
Daiderd Jordan
926395d628
reorganize modules 2016-11-06 22:38:31 +01:00
Daiderd Jordan
cd49cc1ab3
generalized module for write-text
- use custom etc activation script
2016-11-05 22:47:09 +01:00