Daiderd Jordan
28710738a3
checks: fix gc condition
...
Don't fail if the user is configured properly.
2019-01-03 19:29:49 +01:00
Daiderd Jordan
8a6c783616
checks: generalize and make them more configurable
...
All the checks are now aggregated in system.checks.text making it easy
to allow certain checks to be disabled as well as disabling them
alltogether if desired. eg.
# Disable all checks.
system.checks.text = mkForce "";
Fixes #117
2019-01-02 21:13:45 +01:00
Daiderd Jordan
72b3648fa0
nix-gc: add check for nix.gc.automatic
...
This hopefully avoids problems for people that try to enable the service
with a single-user install.
Fixes #118
2019-01-02 20:46:39 +01:00
Daiderd Jordan
f5116b0f4d
nix-gc: add user option
...
This configures the user that runs the garbage collector, particularly
useful for single-user installs. Otherwise it runs as root resulting in
permission issues afterwards.
2019-01-02 20:24:00 +01:00
Daiderd Jordan
0a8741be9c
Merge pull request #97 from peel/patch-1
...
[services.emacs] use `fg-daemon` flag for service
2019-01-02 20:02:27 +01:00
Daiderd Jordan
7f4a9ecb4d
lnl: add nix-daemon objc workaround
2018-12-18 23:32:18 +01:00
Daiderd Jordan
5f7c0b6f56
lnl: fix reexec aliases
2018-12-18 23:21:21 +01:00
Daiderd Jordan
bd1ad9fd60
lnl: enable gnupg agent
2018-12-18 23:21:20 +01:00
Daiderd Jordan
255da174c8
lnl: add awscli
2018-12-18 23:21:18 +01: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
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
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
Piotr Limanowski
6d0cf2d842
add tests for fonts
2018-10-02 19:59:23 +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
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
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
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
Piotr Limanowski
3fabc3d842
use fg-daemon
flag for emacs service
...
As the default package is now emacs 26.1 and --daemon flag falls back to forking behaviour the recommended way is to use fg-daemon, see: lists.gnu.org/archive/html/emacs-devel/2016-11/msg00383.html, lists.gnu.org/archive/html/emacs-devel/2017-05/msg00861.html
2018-09-03 19:54:56 +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
Daiderd Jordan
5a081e09ce
vim: expose programs.vim.package
2018-08-03 20:39:23 +02:00
Daiderd Jordan
6424eb998d
vim: formatting
2018-08-03 20:31:37 +02:00