1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00
Commit graph

182 commits

Author SHA1 Message Date
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
Mario Rodas
5d272ddaf2 synapse-bt: add synapse-bt service 2018-09-15 15:37:22 -05:00
Michael Hoang
6d013ea166 synergy: Add module for client and server 2018-09-14 20:48:23 +10: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
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
6418523767
Merge pull request #92 from carlosdagos/privoxy-service
Add a privoxy service
2018-08-03 19:35:16 +02:00
Carlos D
41a6a40f53 Add a privoxy service 2018-08-02 10:09:22 +10:00
Daiderd Jordan
09d5b6aae5
Merge pull request #84 from periklis/fix-offlineimap-args
[service/offlineimap]: Fix args passing to execvp
2018-08-01 19:46:19 +02:00
Periklis Tsirakidis
17af73ddd5
Fix args passing to execvp 2018-08-01 19:40:59 +02:00
Alyssa Ross
af84b3c519
Make the skhd service default to the skhd package
This can be overrided if necessary, but I don't see any reason the
nixpkgs package shouldn't be the default. It looks like this package
didn't exist when the service was created.
2018-07-27 16:12:49 +01:00
Daiderd Jordan
fa3f67966b
types.string -> types.str
These options unintentionally used the deprecated string type, the
important difference between these is the fact that string merges by
default (similar to eg. lines) while str can only have a single value.
2018-07-21 13:27:08 +02:00
Daiderd Jordan
27a5758728
nix-daemon: add option to make service socket activated
This makes the service start on demand when a client connects to the
daemon socket, instead of keeping it alive.

    services.nix-daemon.enableSocketListener = true;
2018-06-21 15:20:49 +02:00
Periklis Tsirakidis
94fdf827e1 Add appropriate option defaults 2018-06-05 10:55:01 +02:00
Periklis Tsirakidis
b85d89a1ae Init offlineimap service 2018-06-04 16:25:07 +02:00
Rodney Lorrimar
6d6d11fdad fixup! buildkite-agent: fix variable expansion in hook scripts
Addresses PR review comment.
2018-05-10 11:43:49 +01:00
Rodney Lorrimar
80baf76185 buildkite-agent: Only start service once networking is available
buildkite-agent gets the hostname at startup, so needs to be started
after the hostname is set.
2018-04-25 09:37:30 +01:00
Rodney Lorrimar
6aac14a46d buildkite-agent: fix variable expansion in hook scripts
@cleverca found this bug in the declarative hooks config. Any shell
variables referenced in a hook script would get expanded by the hooks
directory builder.

Prevent variable expansion by quoting the here doc limit string.
2018-04-25 06:56:28 +01:00
Daiderd Jordan
4899b6658f
khd: don't depend on kwm directly
Iff the kwm service is enabled the commands will still be in the default PATH.
2018-03-27 21:42:50 +02:00
Daiderd Jordan
bd37b66faf
skhd: simplify service 2018-03-27 21:34:30 +02:00
Daiderd Jordan
f2ff808a4f
nix: update config options for 2.0 2018-03-26 22:14:58 +02:00
Daiderd Jordan
a9e0f71c50
nix-daemon: make cacert overridable without mkForce
Fixes #74
2018-03-26 21:53:31 +02:00
Daiderd Jordan
84a3fcadd0
ofborg: add basic test 2018-03-05 23:00:50 +01:00
peel
81018ab64d removes accessibility setting as it's been removed by darwin
for the record, this is related to https://support.apple.com/en-us/HT204899
2018-03-05 07:10:27 +01:00
Piotr Limanowski
577961c162 adds skhd module 2018-03-03 15:25:43 +01:00
Daiderd Jordan
42fb777813
activate-system: run keyboard activation at boot
The keyboard mappings are not persistent and need to be reapplied after
a reboot.
2018-02-28 20:18:49 +01:00
Rodney Lorrimar
48d6fe551d buildkite-agent service: add test case 2018-02-26 18:19:22 +00:00
Rodney Lorrimar
5869c4e45b fixup! buildkite-agent service: init for nix-darwin 2018-02-23 20:04:29 +00:00
Rodney Lorrimar
ed6e80a179 buildkite-agent service: init for nix-darwin 2018-02-23 12:29:55 +00:00
Rodney Lorrimar
ef9427dbf0 buildkite-agent service: copy from NixOS 2018-02-22 12:36:00 +00:00
Daiderd Jordan
5fa6f21d06
ofborg: init service 2018-01-29 22:37:25 +01:00
Daiderd Jordan
1779e06cd4
chunkwm: make chunkwmrc executable 2018-01-04 21:37:13 +01:00
Daiderd Jordan
f63f4fe3fb
nix: reload daemon when nix.conf changes 2018-01-03 20:10:24 +01:00
Daiderd Jordan
48af45075a
nix-daemon: add option to configure a logfile 2017-11-28 22:25:51 +01:00
Daiderd Jordan
78d426940a
improve descriptions for a bunch of modules 2017-10-19 22:16:09 +02:00
Daiderd Jordan
f0ee1438ec
nix-daemon: don't set tempDir by default 2017-10-08 13:15:13 +02:00
Daiderd Jordan
6fa180702b
modules: add redis service 2017-09-07 22:39:35 +02:00
Daiderd Jordan
2156c30ad2
nix-daemon: fix eval 2017-07-18 20:32:32 +02:00
Daiderd Jordan
8960f57708
nix-daemon: fix condition 2017-07-18 20:27:54 +02:00
Daiderd Jordan
b883ae533f
nix-daemon: fix nixbld group warning 2017-07-18 20:19:53 +02:00
Daiderd Jordan
3730fdf15e
enable activate-system serice by default 2017-07-17 21:46:35 +02:00
Daiderd Jordan
d049c7b97a
hydra: use nix.gc.automatic 2017-07-17 21:42:27 +02:00
Daiderd Jordan
8c29d0985d
fix typo 2017-07-06 21:54:38 +02:00
Piotr Limanowski
972ee0cb82
Adds service.emacs.exec to choose emacs binary to execute
The motivation of the change is that some forks (ie. Wilfred/remacs)
choose not to use the emacs binary. Whereas it is perfectly possible
to generate /bin/emacs in a drv, but I strongly believe it's cleaner
to have a service parameter.
2017-07-04 21:13:32 +02:00
Daiderd Jordan
22be829197 Merge pull request #36 from peel/master
Adds support for ChunkWM
2017-07-03 20:27:45 +02:00
Piotr Limanowski
fe8072ec15
Updates to ChunkWM changes; Removes somedefaults as suggested 2017-07-03 13:37:55 +02:00
Daiderd Jordan
acd0fee357
postgresql: init service 2017-07-02 18:39:07 +02:00
Piotr Limanowski
e33942bab2
Adds support for ChunkWM 2017-06-29 07:24:02 +02:00
Daiderd Jordan
fa843a70ca
security: add enableAccessibilityAccess option 2017-05-24 22:55:20 +02:00
Daiderd Jordan
2fda5848bb
kwm: add option to manage config in /etc/kwmrc
Fixes #24
2017-05-20 13:14:17 +02:00
Daiderd Jordan
9f0b3c22c3
khd: use ~/.khdrc when to config is defined 2017-05-20 13:04:26 +02:00
Daiderd Jordan
cfc9681113
khd: add option to configure i3 keybindings 2017-05-20 13:02:10 +02:00
Daiderd Jordan
c8c2763c9e
khd: add option to manage config in /etc/khdrc 2017-05-20 13:01:25 +02:00
Daiderd Jordan
9f422bb4be
add missing conditional for accessibility programs in khd and kwm 2017-05-16 00:42:41 +02:00
Daiderd Jordan
d684bbf202
nix-daemon: switch process type to interactive
Using interactive seems to have a significant impact on build times,
hopefully this doesn't impact other UI programs to much while building
packages.
2017-05-16 00:33:12 +02:00
Daiderd Jordan
7f7d4bfebd
khd: add option to enable accessibility permissions 2017-05-16 00:32:11 +02:00
Daiderd Jordan
5a220c5249
kwm: add option to enable accessibility permissions 2017-05-16 00:24:36 +02:00
Daiderd Jordan
7ca9f3d5bb
launchd: add script option for services 2017-05-15 08:34:53 +02:00
Daiderd Jordan
fa03cd4939
kwm: move package default to config 2017-05-14 14:31:48 +02:00
Daiderd Jordan
6430ca5e86
khd: move package default to config 2017-05-14 14:29:50 +02:00
Daiderd Jordan
a4eb645d0d
launchd: allow string entries for serviceOptions.path
Fixes evaluation of khd.
2017-05-14 00:12:20 +02:00
Piotr Limanowski
79e3d78f43 Makes mopidy service non-adaptive
Noticed that adaptive service causes mopidy to stutter under heavy load.
2017-03-21 13:34:12 +01:00
Piotr Limanowski
b16b84abbf Adds mopidy service with media keys support 2017-03-19 23:33:26 +01:00
Daiderd Jordan
d92f0e8117 nix-gc: init service 2017-03-05 20:39:48 +01:00
Daiderd Jordan
328ce04664
khd: fix path 2017-02-26 14:46:42 +01:00
Daiderd Jordan
39827d4335
nix-daemon: fix activation script 2017-02-19 15:49:54 +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
9a65d60811
khd: add system path to service 2017-02-19 12:07:54 +01:00
Piotr Limanowski
79c902422a adds emacs launchd service 2017-02-19 11:53:25 +01:00
Daiderd Jordan
49d6daa5b1
kwm: add service module 2017-01-29 21:01:47 +01:00
Daiderd Jordan
658bdb5572
fix path for khd service 2017-01-26 22:46:57 +01:00
Daiderd Jordan
0eb8384f0a
fix khd service 2017-01-25 22:50:12 +01:00
Daiderd Jordan
199808713e
nix-daemon: use command option 2017-01-25 21:22:40 +01:00
Daiderd Jordan
c24aa048c7
activate-system: use command option 2017-01-25 21:20:00 +01:00
Daiderd Jordan
5a5ec9ac42
nix.distributedBuilds: create directory for current load 2017-01-09 22:30:15 +01:00
Daiderd Jordan
8065a509a4
services.nix-daemon: use wrapper to possibly avoid launchd startup issues 2017-01-05 23:48:09 +01:00
Daiderd Jordan
5949d2ed5d
fix cert bundle for services.nix-daemon 2016-12-15 14:27:47 +01:00
Daiderd Jordan
125dcb48b0
add nix module 2016-12-15 13:26:22 +01:00
Daiderd Jordan
302524fba1
services.activate-system: wrap activation script 2016-12-14 22:03:23 +01:00
Daiderd Jordan
4e5b313174
services.activate-system: retry if activation fails
this might fail a few times when /nix/store is on another filesystem.
2016-12-14 21:15:02 +01:00
Daiderd Jordan
033499c0ed
only activate system profile with sudo 2016-12-07 23:06:18 +01:00
Daiderd Jordan
1ab74daf82
add nix-daemon service module 2016-12-04 10:44:58 +01:00
Daiderd Jordan
7b3ace08c5
add service module for system activation 2016-12-04 10:38:21 +01:00