Profpatsch
2b0469c48f
modules/mpd: factor out name & mention man 5 mpd.conf
2017-02-18 16:03:16 +01:00
Jörg Thalheim
05f2f8e1fd
Merge pull request #21505 from tg-x/mpd-listen
...
mpd: listen on 127.0.0.1 by default
2017-01-01 16:06:17 +01:00
tg(x)
002f3c8760
mpd: listen on 127.0.0.1 by default
2017-01-01 13:46:39 +01:00
Robin Stumm
11fe837758
rename sound.enableMediaKeys to sound.mediaKeys.enable and add volumeStep
2017-01-01 11:44:07 +01:00
Emery Hemingway
b675619391
nixos: use types.lines for extraConfig
2016-10-23 19:41:43 +02:00
Langston Barrett
25a7ded89c
audio services: use mkEnableOption ( #18524 )
2016-09-12 04:47:08 +02:00
Joachim Fasting
0a6221578a
mpd service: replace script with serviceConfig.ExecStart
2016-09-10 18:30:14 +02:00
Joachim Fasting
009c1848c2
mpd service: add types to all options
2016-09-10 18:30:14 +02:00
Langston Barrett
77cedff4e7
ympd service: init ( #18371 )
...
ympd provides a web ui, it is suitable to be run as a service.
Fixes #17878 .
service has no requirements b/c user might be using remote mpd
instance.
2016-09-10 18:23:39 +02:00
Langston Barrett
a28273df32
mopidy service: add default value for configuration ( #17385 )
...
Mopidy will start if the configuration is empty.
Fixes #17381 .
2016-07-31 18:35:09 +02:00
Phil Wetzel
ccdf386a97
squeezelite service: init
2016-06-11 22:05:07 -04:00
Thomas Strobel
a04a7272aa
Add missing 'type', 'defaultText' and 'literalExample' in module definitions
...
- add missing types in module definitions
- add missing 'defaultText' in module definitions
- wrap example with 'literalExample' where necessary in module definitions
2016-01-17 19:41:23 +01:00
Robin Gloster
af50b03f50
fuppes: remove obsolete broken package and service
2016-01-07 06:39:05 +00:00
Bjørn Forsman
79367816a9
nixos/mpd: rename 'host' to 'listenAddress'
...
More descriptive option name.
2015-12-24 00:04:04 +01:00
Spencer Whitt
3bc477e2f2
mopidy module: use buildEnv fixes #11706
2015-12-15 22:38:15 -05:00
Unai Zalakain
8811724ec9
The user specified in the conf should run MPD
2015-06-13 23:24:19 +02:00
Jan Malakhovski
57ab189e78
nixos: add actkbd module and sound.enableMediaKeys option
2015-04-20 17:11:19 +00:00
Rickard Nilsson
3620b27a66
mpd: Make it possible to specify db file path
2015-04-10 23:10:14 +02:00
aszlig
ea2fd84ecd
nixos/mpd: Fix creation of "mpd" group.
...
The group is specified using a singleton list, so the loaOf merging is
done by iterating through the list items with imap, so it enumerates
every element and sets that as the default "name" attribute.
From lib/types:143:
name = elem.name or "unnamed-${toString defIdx}.${toString elemIdx}";
So, people get groups like "unnamed-X.Y" instead of "mpd".
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Reported-by: devhell <"^"@regexmail.net>
Tested-by: devhell <"^"@regexmail.net>
2015-03-20 20:58:13 +01:00
koral
54857abfc9
Added icecast module.
2015-03-17 14:21:57 +00:00
koral
9c4cbaa553
Fix mpd configuration (enclosing quotes needed).
2015-03-14 12:15:34 +00:00
Unai Zalakain
581a90bad8
Optional user and group to run the MPD
2015-03-08 10:18:40 +00:00
Luca Bruno
d06122c58d
Add PermissionsStartOnly to mpd service. Closes #6277
2015-02-10 10:18:54 +01:00
Benno Fünfstück
914b76bad4
services.mpd: use systemd's user option
...
For some reason, mpd fails to open the sound card if using mpd's user
option. Starting mpd directly as the mpd user works for me.
2014-12-22 11:22:14 +00:00
Emery Hemingway
21e4ff5624
initial liquidsoap service expression
2014-11-20 17:41:15 -05:00
Mateusz Kowalczyk
7fedb1baa6
Try fixing #4084
2014-09-21 07:04:01 +01:00
Dmitry Malikov
08cc8da65a
mpd service: add network.{host,port} options
...
Closes #4084
2014-09-21 01:43:06 +01:00
aszlig
8a56a55bb4
nixos/manual: Use literalExample when feasible.
...
Should bring most of the examples into a better consistency regarding
syntactic representation in the manual.
Thanks to @devhell for reporting.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-08-27 23:41:15 +02:00
Rickard Nilsson
66858833e3
mopidy: Add mopidy-scan service for scanning local media
2014-08-12 01:40:44 +02:00
Rickard Nilsson
212f476c97
Add NixOS module for Mopidy, a music player daemon
2014-07-28 19:52:32 +02:00
third3ye
9c83a6bc76
Minor logic fix
...
music_directory "${cfg.musicDirectory}"
playlist_directory "${cfg.dataDir}/playlists"
db_file "${cfg.dataDir}/tag_cache"
state_file "${cfg.dataDir}/state"
sticker_file "${cfg.dataDir}/sticker.sql"
all refer to ${cfg.datadir}, which by default is "/var/lib/mpd/".
Parsing for instance ${cfg.datadir}/playlists results in:
/var/lib/mpd//playlists - NOT FOUND.
2014-06-17 03:24:39 +00:00
Peter Simons
c18775837c
nixos/modules/services/audio/alsa.nix: fix evaluation
...
https://github.com/NixOS/nixpkgs/issues/2732
2014-05-23 19:20:49 +02:00
Arseniy Seroka
dc8625305a
fix mistake
2014-05-23 14:58:07 +04:00
Arseniy Seroka
c84d81541e
alsa: add option to change system wide configuration
2014-05-23 14:53:24 +04:00
Eelco Dolstra
29027fd1e1
Rewrite ‘with pkgs.lib’ -> ‘with lib’
...
Using pkgs.lib on the spine of module evaluation is problematic
because the pkgs argument depends on the result of module
evaluation. To prevent an infinite recursion, pkgs and some of the
modules are evaluated twice, which is inefficient. Using ‘with lib’
prevents this problem.
2014-04-14 16:26:48 +02:00
Eelco Dolstra
2b1f212494
Disable various services when running inside a container
2013-11-26 18:19:45 +01:00
Eelco Dolstra
862e3dd977
Substitute "types.uniq types.string" -> "types.str"
2013-10-30 14:57:42 +01:00
Eelco Dolstra
d5047faede
Remove uses of the "merge" option attribute
...
It's redundant because you can (and should) specify an option type, or
an apply function.
2013-10-28 22:45:56 +01:00
Eelco Dolstra
a3777ba4f9
Remove dependencies on the Nixpkgs location
2013-10-23 20:08:23 +02:00
Eelco Dolstra
5c1f8cbc70
Move all of NixOS to nixos/ in preparation of the repository merge
2013-10-10 13:28:20 +02:00