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

864 commits

Author SHA1 Message Date
Daiderd Jordan
f05d6a858f
nix-gc: add test 2019-01-03 20:59:23 +01:00
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
918492f3ef
add changelog entry for the verifyNixPath option 2019-01-02 21:19:24 +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
Daiderd Jordan
2412c7f9f9
Merge pull request #111 from thefloweringash/shell-child-env
Unify environment configuration and don't run in child shells
2018-10-29 11:32:10 +00:00
Andrew Childs
b5fc279d1b Combine system environment tests and add zsh 2018-10-29 09:12:20 +09:00
Daiderd Jordan
34a6eca033
Revert "installer: add NIX_PATH fallback in <darwin> lookup"
This reverts commit 06f8d83f60.
2018-10-27 00:14:38 +01:00
Daiderd Jordan
0146366b21
Revert "nix: make channel entries for NIX_PATH dynamic"
This reverts commit 95fb1cb2aa, 1324ccf2c1 and e5c988edf1.
2018-10-26 18:05:33 +01:00
Daiderd Jordan
63dfbc93d5
installer: include channels in bootstrap NIX_PATH 2018-10-26 17:47:45 +01:00
Daiderd Jordan
e5c988edf1
checks: include channel paths for NIX_PATH checks 2018-10-26 17:26:14 +01:00
Daiderd Jordan
06f8d83f60
installer: add NIX_PATH fallback in <darwin> lookup
The nix.nixPath option doesn't include everything, some paths are added
dynamically now.
2018-10-26 17:09:19 +01:00
Daiderd Jordan
1324ccf2c1
add changelog entry for nix.enableChannels
This should have the same behaviour but it changed slightly when
overriding the defaults.
2018-10-26 16:01:14 +01:00
Daiderd Jordan
95fb1cb2aa
nix: make channel entries for NIX_PATH dynamic
This avoids warnings like this if the root or user channel profiles
don't exist.

    warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
2018-10-26 15:49:24 +01:00
Daiderd Jordan
79d356909b
installer: don't use pure PATH for editor
For the rest of the installer we want to make sure nothing installed by
the user interferes, however a user's editor might be installed
anywhere.
2018-10-26 09:10:28 +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
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