1
1
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-09-11 12:49:18 +03:00
Commit Graph

693 Commits

Author SHA1 Message Date
Andrew Childs
b5fc279d1b Combine system environment tests and add zsh 2018-10-29 09:12:20 +09:00
Andrew Childs
676ef10377 Unify environment configuration and don't run in child shells
This should enable `nix run` to work under shells like fish and zsh,
as well as making child shells not needlessly reset any environment
that should be inherited.

Implementation adapted from NixOS.
2018-10-25 01:00:52 +09:00
Daiderd Jordan
e6a698a701
Merge pull request #109 from marsam/feature/update-bashrc-config
Do not evaluate /etc/bashrc on non-interactive shells
2018-10-17 19:04:48 +02:00
Mario Rodas
1a786eb088 bash: place bashrc early non-interactive return below system setup
Setting PATH and environment setup is required in non-interactive shells
2018-10-16 19:54:07 -05:00
Mario Rodas
dff88ee954 bash: do not evaluate completions on dumb terminals 2018-10-14 10:38:48 -05:00
Mario Rodas
b82bc64a0e bash: do not evaluate /etc/bashrc on non-interactive shells 2018-10-14 10:38:40 -05:00
Daiderd Jordan
5fa894c90a
tests: avoid depending on an actual font package 2018-10-12 22:03:40 +02:00
Daiderd Jordan
9a04aea8ea
tmux: remove reattach-to-user-namespace
It's not been needed anymore for a few macOS releases now.
2018-10-12 21:59:41 +02:00
Daiderd Jordan
9a192471bb
Merge pull request #108 from thefloweringash/dock-show-recents
system.defaults.dock: add `show-recents` option
2018-10-11 19:29:04 +02:00
Daiderd Jordan
166560ca76
Merge pull request #102 from peel/f-fonts-module
initialise fonts module
2018-10-11 19:10:42 +02:00
Andrew Childs
4cfb4b084e system.defaults.dock: add show-recents option 2018-10-11 11:58:17 +09:00
Piotr Limanowski
00cd92968e skip buildEnv and create a package with /share/fonts 2018-10-06 20:38:01 +02:00
Piotr Limanowski
2a53ac278f fonts: adds enableFontDir flag
For NixOS compatibility reasons we're using enableFontDir flag that
in turn enables/disables font management in /Library/Fonts directory.
2018-10-05 22:27:29 +02:00
Piotr Limanowski
da886d015c fonts: extracts helpers to top-level let expr 2018-10-05 19:17:43 +02:00
Piotr Limanowski
c2d7870587 adds info on automatic removal of manually-added fonts 2018-10-04 20:40:19 +02:00
Piotr Limanowski
397d2637e9 looks for fonts with both otf and ttf extensions 2018-10-04 13:48:57 +02:00
Piotr Limanowski
8fe33a584e adds recursive font searching 2018-10-04 13:14:45 +02:00
Daiderd Jordan
81068e51e9
Merge pull request #106 from thanegill/patch-1
Remove Security link from README
2018-10-02 22:02:01 +02:00
Thane Gill
487bec1a6f
Remove Security link from README
Doesn't exist anymore
2018-10-02 11:49:32 -07:00
Piotr Limanowski
6d0cf2d842 add tests for fonts 2018-10-02 19:59:23 +02:00
Daiderd Jordan
dff2df8bfe
Merge pull request #103 from luigy/fix-quoting-in-nixPath-check
Fix quoting for nixPath check
2018-10-01 19:51:33 +02:00
Luigy Leon
a15b59594f Fix quoting for nixPath check 2018-09-30 10:56:32 -04:00
Piotr Limanowski
b10e114e33 re-add fonts on every rebuild 2018-09-30 14:53:16 +02:00
Piotr Limanowski
7a7cbdc165 initialise fonts module 2018-09-30 13:22:24 +02:00
Daiderd Jordan
b2d62a6f44
lnl: move gitconfig to dotfiles 2018-09-21 20:14:02 +02:00
Daiderd Jordan
6a1a826450
Merge pull request #83 from marsam/feature/add-synapse-bt-sevice
synapse-bt: add synapse-bt service
2018-09-16 03:25:18 +02:00
Mario Rodas
6d5dcd60eb synapse-bt: Add basic test 2018-09-15 15:37:22 -05:00
Mario Rodas
5d272ddaf2 synapse-bt: add synapse-bt service 2018-09-15 15:37:22 -05:00
Daiderd Jordan
c49311408b
Merge pull request #99 from Enzime/add/synergy-service
synergy: Add module for client and server
2018-09-14 22:57:51 +02:00
Daiderd Jordan
a49864fd95
Merge pull request #100 from LnL7/installer-2.1
installer: prefer nix from default profile
2018-09-14 22:39:24 +02:00
Daiderd Jordan
803bf18141
uninstaller: continue if removing channel fails and make nix-daemon reload more robust
Kind of a workaround, but failing to remove the channel isn't a big
deal.
2018-09-14 22:32:49 +02:00
Daiderd Jordan
75add386d3
installer: prefer nix from default profile
Using a nix 2.1 nix-channel/nix-env with a 2.0 nix-daemon doesn't work
because the buildenv implementation was moved to the daemon.  This means
the nix version of the target darwin system can't be used because the
daemon isn't upgraded yet.

    error: unsupported builtin function 'buildenv'
2018-09-14 22:29:08 +02:00
Daiderd Jordan
48f3ed6301
nix: only set NIX_REMOTE for nix 1.11
This isn't needed anymore, nix 2.0 figures this out automatically now.
2018-09-14 21:40:19 +02:00
Michael Hoang
32d7297f98 synergy: Add tests for config options 2018-09-14 21:01:08 +10:00
Michael Hoang
6d013ea166 synergy: Add module for client and server 2018-09-14 20:48:23 +10:00
Daiderd Jordan
9347dc05d1
lnl: make git commit verbose by default
Having the diff context for both commit and rebase -i is really useful
while writing commit messages.
2018-09-13 22:57:56 +02:00
Daiderd Jordan
add86e33a2
lnl: add system packages 2018-09-05 22:49:54 +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
e57ac2ee71
simple: add environment.darwinConfig example 2018-08-26 14:33:40 +02:00
Daiderd Jordan
f473b21c9f
environment: add darwinConfig option to set darwin-config in NIX_PATH
This simplifies using a non default configuration.nix without requiring
a symlink or redefining NIX_PATH.

The nix.nixPath option only defines a default which means defining a value
will drop all of the defaults. This is because correct merge behaviour
isn't very clear for named entries.
2018-08-26 14:09:01 +02:00
Daiderd Jordan
483a906c90
lnl: add vim dotfiles comment 2018-08-25 18:54:08 +02:00
Daiderd Jordan
e299b29e9a
lnl: replace kwm
The new chunkwm is much faster and fixes a few issues that kwm used to
have. Sadly the package can't be built without CommandLineTools at the
moment because it depends on 10.11 frameworks.:
2018-08-25 00:36:00 +02:00
Daiderd Jordan
2b6447df5e
chunkwm: support multiple outputs
Since the package contains both chunkwm (daemon) and chunc (client) the
daemon shouldn't really be in PATH by default.  Usually libexec is used
for this, however this would break the current expression used by
people.  This enables moving chunkc to a bin output for this purpose.

eg. 7ad4b4d23d
2018-08-24 23:55:38 +02:00
Daiderd Jordan
90c34df929
lnl: use environment.d 2018-08-23 00:13:03 +02:00
Daiderd Jordan
b1e32f0789
lnl: fix darwin-zsh-completions name 2018-08-22 22:57:36 +02:00
Daiderd Jordan
c84e05a3be
lnl: update alias functions 2018-08-21 23:42:15 +02:00
Daiderd Jordan
f190254679
examples: remove nix-repl and nixUnstable references 2018-08-21 22:42:33 +02:00
Daiderd Jordan
6de3c1f3e1
lnl: simplify example config 2018-08-21 22:35:03 +02:00
Daiderd Jordan
4c6a5f4dfa
lnl: disable vim guiSupport 2018-08-07 19:49:42 +02:00
Daiderd Jordan
7b379f115c
lnl: add <darwinpkgs> 2018-08-03 23:03:33 +02:00