summary refs log tree commit diff
path: root/nixos/modules/services/audio/mpd.nix
Commit message (Collapse)AuthorAge
* nixos/mpd: use upstream unitsrnhmjoj2022-01-11
|
* nixos/doc: clean up defaults and examplesNaïm Favier2021-10-04
|
* nixos/mpd: Use replace-secret to avoid leaking secretstalyz2021-05-19
| | | | | | | Using `replace-literal` to insert secrets leaks the secrets through the `replace-literal` process' `/proc/<pid>/cmdline` file. `replace-secret` solves this by reading the secret straight from the file instead.
* Merge pull request #82005 from esclear/mpd-socketDoron Behar2021-03-28
|\ | | | | nixos/mpd: allow autostart when listening for unix socket
| * nixos/mpd: allow autostart when listening for unix socketDaniel Albert2020-03-07
| |
* | treewide: fix double quoted strings in meta.descriptionvolth2021-01-24
| | | | | | | | Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
* | nixos/mpd: use credentials only if neededDoron Behar2021-01-11
| |
* | nixos/mpd: remove credentialsFile in favor of credentials optionsohalt2020-12-26
| |
* | nixos/mpd: support passwords in separate filessohalt2020-12-24
| | | | | | | | | | | | This allows to use files containing only the mpd password without the permissions, making it easier for other programs connecting to mpd to read the password from the same password file.
* | nixos/mpd: conditionally provision required directories with StateDirectoryAaron Andersen2020-12-11
| |
* | nixos/mpd: Mention in /etc/mpd.conf it was autogeneratedDoron Behar2020-09-10
| |
* | nixos/mpd: Allow to configure a credentialsFileDoron Behar2020-08-16
| | | | | | | | | | Allow to specify a password file to be located outside the store, and be read in `ExecStartPre`.
* | nixos/mpd: add services.mpd.fluidsynth optionDominique Martinet2020-05-10
| | | | | | | | | | fluidsynth is compiled in but soundfont-fluid needs to be explicitely pulled in and path configured, an option makes it much simpler to use
* | mpd: remove user/group from confDominique Martinet2020-05-10
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the options should not be set as we already change user with service file, man mpd.conf says "Do not use this option if you start MPD as an unprivileged user" The group option actually is not documented at all anymore and probably no longer exists. These options get in the way of setting up confinement for the service, as it would otherwise be pretty straightforward to setup, but even if mpd is not root it would check the user exists within the chroot which is more work (need to get nss working): systemd.services.mpd = { serviceConfig.BindPaths = [ # mpd state dir "/var/lib/mpd" # notify systemd service started up "/run/systemd/notify" ]; serviceConfig.BindReadOnlyPaths = [ "/path/to/music:/var/lib/mpd/music" ]; # ProtectSystem is not compatible with confinement serviceConfig.ProtectSystem = lib.mkForce false; confinement = { enable = true; binSh = null; mode = "chroot-only"; }; };
* treewide: use attrs instead of list for types.loaOf optionsrnhmjoj2020-01-06
|
* mpd: 0.20.13 -> 0.21.16 (#57608)tobim2019-11-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactor mpd * mpd: 0.20.13 -> 0.21.5 Switch to meson based build, following upstream. * Fix mpd on darwin * mpd: 0.21.5 -> 0.21.6 * mpd-small: init add 0.21.6 * Update to 0.21.8 & fix ouput path Also use pname instead of name. * Update to 0.21.9 * Integrate review suggestions - Expose run function as mpdWithFeatures. - Throw on invalid feature requests. - Drop major/minor version variables. - Cosmetic improvements. * Update to 0.21.10 * mpd: 0.21.10 -> 0.21.11 * mpd: 0.21.11 -> 0.21.12 * mpd: log to journal * mpd: 0.21.12 -> 0.21.14 * mpd: add tobim to maintainers * mpd: reenable syslog support * mpd: 0.21.14 -> 0.21.15 * mpd: 0.21.15 -> 0.21.16
* mpd: restart alwaysMatthias Beyer2019-10-22
| | | | Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
* nixos/mpd: replace deprecated usage of PermissionsStartOnlyAaron Andersen2019-04-13
| | | | see https://github.com/NixOS/nixpkgs/issues/53852
* nixos/mpd: allow storage plugins in musicDirectoryJohannes Frankenau2018-08-03
|
* nixos/modules: users.(extraUsers|extraGroup->users|group)Florian Klink2018-06-30
|
* mpd: fix spelling in descriptionRobert Helgesson2018-06-03
|
* nixos/mpd: allow services.mpd.dbFile to be nullAndreas Rammhold2018-06-01
| | | | | | | This change allows users to specify an alternative database method. For example an mpd satellite setup where another mpd on the network shares it's database with the local instance. The `dbFile` parameter must not be configured in that case.
* nixos/mpd: allow configuring playlist directory (#28252)Casey Rodarmor2017-08-20
|
* mpd service: Start when needed and hardenJohannes Frankenau2017-07-04
|
* mpd service: Create playlist directoryJohannes Frankenau2017-07-01
|
* modules/mpd: factor out name & mention man 5 mpd.confProfpatsch2017-02-18
|
* mpd: listen on 127.0.0.1 by defaulttg(x)2017-01-01
|
* nixos: use types.lines for extraConfigEmery Hemingway2016-10-23
|
* mpd service: replace script with serviceConfig.ExecStartJoachim Fasting2016-09-10
|
* mpd service: add types to all optionsJoachim Fasting2016-09-10
|
* nixos/mpd: rename 'host' to 'listenAddress'Bjørn Forsman2015-12-24
| | | | More descriptive option name.
* The user specified in the conf should run MPDUnai Zalakain2015-06-13
|
* mpd: Make it possible to specify db file pathRickard Nilsson2015-04-10
|
* nixos/mpd: Fix creation of "mpd" group.aszlig2015-03-20
| | | | | | | | | | | | | | | | 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>
* Fix mpd configuration (enclosing quotes needed).koral2015-03-14
|
* Optional user and group to run the MPDUnai Zalakain2015-03-08
|
* Add PermissionsStartOnly to mpd service. Closes #6277Luca Bruno2015-02-10
|
* services.mpd: use systemd's user optionBenno Fünfstück2014-12-22
| | | | | 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.
* Try fixing #4084Mateusz Kowalczyk2014-09-21
|
* mpd service: add network.{host,port} optionsDmitry Malikov2014-09-21
| | | | Closes #4084
* Minor logic fixthird3ye2014-06-17
| | | | | | | | | | | | 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.
* Rewrite ‘with pkgs.lib’ -> ‘with lib’Eelco Dolstra2014-04-14
| | | | | | | | 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.
* Move all of NixOS to nixos/ in preparation of the repository mergeEelco Dolstra2013-10-10