about summary refs log tree commit diff
path: root/modules/services/audio
Commit message (Collapse)AuthorAge
* Fix saving the ALSA sound card stateEelco Dolstra2013-09-22
| | | | | | | This didn't work reliably because it raced with the remounting of /. So if you were unlucky, then / was read-only by the time we ran "alsactl store". Now the sound card state is saved before anything is unmounted/remounted.
* Merge hardware.pulseaudio and services.pulseaudioRickard Nilsson2013-03-14
| | | | | | | | | | | | | | | | More specifically, this removes services.pulseaudio and adds the option hardware.pulseaudio.systemWide which defaults to false but can be used to turn on the system-wide PulseAudio server (previously defined in services.pulseaudio). Since the two PulseAudio modes are mutually exclusive anyway (maybe not strictly true, but I don't think is a good idea combining them) its nicer to be able to reuse server and ALSA configuration between them. Also the system-wide PulseAudio service has been adjusted to systemd, and a few things has been fixed (there was no alsa.conf before, for example). The bottomline is that people that was using hardware.pulseaudio before should be able to keep doing it in exactly the same way, and people that used services.pulseaudio must switch over to hardware.pulseaudio.systemWide instead.
* alsa-store.service: Avoid unnecessary shellShea Levy2013-03-13
| | | | Signed-off-by: Shea Levy <shea@shealevy.com>
* alsa-store.service: Ensure /var/lib/alsa existsShea Levy2013-03-13
| | | | Signed-off-by: Shea Levy <shea@shealevy.com>
* mpd: Start service with execRickard Nilsson2013-02-28
|
* mkdir musicDirecotry for mpd before startnig the serviceDomen Kozar2013-02-21
|
* mpd: Adjust service definition to systemdRickard Nilsson2013-01-27
|
* Rename ‘boot.systemd’ to ‘systemd’Eelco Dolstra2013-01-16
| | | | | Suggested by Mathijs Kwik. ‘boot.systemd’ is a misnomer because systemd affects more than just booting. And it saves some typing.
* WhitespaceEelco Dolstra2012-10-09
|
* Use udev to restore ALSA volume settingsEelco Dolstra2012-10-02
| | | | | | Alsa-utils provides a udev rule to restore volume settings, so use that instead of restoring them from a systemd service. The "alsa-store" service saves the settings on shutdown.
* Merge remote-tracking branch 'origin/master' into systemdEelco Dolstra2012-09-28
|\ | | | | | | | | | | | | | | | | Conflicts: modules/misc/ids.nix modules/services/mail/postfix.nix modules/services/system/nscd.nix modules/services/x11/desktop-managers/xfce.nix modules/system/boot/stage-1.nix
| * alsa.nix: initialize the sound card before restoring previously stored settingsPeter Simons2012-09-23
| | | | | | | | The sound card in my ThinkPad won't work unless "init" is run explicitly.
* | alsa.nix: Add job descriptionEelco Dolstra2012-08-17
|/
* * Ignore the "No soundcards found" error.Eelco Dolstra2012-03-18
| | | | svn path=/nixos/trunk/; revision=33224
* * Use boot.kernelModules everywhere instead of explicit calls toEelco Dolstra2012-03-17
| | | | | | | | | | modprobe. * Move the implementation of boot.kernelModules from the udev job to the activation script. This prevents races with the udev job. * Drop references to the "capability" kernel module, which no longer exists. svn path=/nixos/trunk/; revision=33208
* Add mpd moduleShea Levy2011-12-05
| | | | | | | There is room for improvement here. The options in conffile could be broken out into individual options and an extraConfig option added. But I think this looks right. Patch by mornfall, slightly modified by me svn path=/nixos/trunk/; revision=30731
* * The "audio" group should always exist, even if the ALSA module isEelco Dolstra2011-11-04
| | | | | | disabled, because udev rules refer to it. svn path=/nixos/trunk/; revision=30229
* strip trailing whitespace; no functional changePeter Simons2011-09-14
| | | | svn path=/nixos/trunk/; revision=29285
* Add new services: freepops, fuppes and ups.Nicolas Pierron2011-07-27
| | | | svn path=/nixos/trunk/; revision=27977
* * The ALSA job shouldn't be started until udevtrigger has finished.Eelco Dolstra2010-08-19
| | | | | | | | Otherwise the sound card drivers may not have been loaded yet, and restoring the mixer settings will fail. Also, since the ALSA job itself will fail, it won't save the mixer settings on shutdown. svn path=/nixos/trunk/; revision=23245
* Implemented enableOSSEmulation option, which can be used to disable OSS ↵Sander van der Burg2010-03-03
| | | | | | emulation. On my home PC OSS emulation gives me a lot of annoying problems svn path=/nixos/trunk/; revision=20351
* * Change all the startOn / stopOn attributes to the Upstart 0.6 syntaxEelco Dolstra2009-11-06
| | | | | | (e.g., startOn = "started foo" instead of startOn = "foo"). svn path=/nixos/branches/upstart-0.6/; revision=18230
* * jobAttrs -> jobs.Eelco Dolstra2009-10-12
| | | | svn path=/nixos/trunk/; revision=17769
* * Convert the remaining jobs to jobAttrs style.Eelco Dolstra2009-10-12
| | | | svn path=/nixos/trunk/; revision=17764
* * Converted modules that were still using the old (concrete syntax)Eelco Dolstra2009-10-12
| | | | | | | | style of declaring Upstart jobs. While at it, converted them to the current NixOS module style and improved some option descriptions. Hopefully I didn't break too much :-) svn path=/nixos/trunk/; revision=17761
* Rename environment.extraPackages to environment.systemPackages.Nicolas Pierron2009-10-07
| | | | svn path=/nixos/trunk/; revision=17705
* svn path=/nixos/branches/modular-nixos/; revision=16397Eelco Dolstra2009-07-16
|
* * Move the uid/gid mappings into a module. This allows other modulesEelco Dolstra2009-05-29
| | | | | | | to use it through config.ids.{uids,gids} rather than `import relative-path/ids.nix'. svn path=/nixos/branches/modular-nixos/; revision=15796
* * Move the definition of the set of system packages toEelco Dolstra2009-05-25
| | | | | | | | | | | modules/config/system-path.nix. system/system.nix is now almost empty. * Removed the cleanStart option - it should be possible to get the same functionality by overriding config.system.path (or defining config.system.systemPackages with a higher priority - don't know if that works though). svn path=/nixos/branches/modular-nixos/; revision=15727
* * Continued refactoring the tree: moved most Upstart jobs (namelyEelco Dolstra2009-05-24
those that run daemons) to modules/services. This probably broke some things since there are a few relative paths in modules (e.g. imports of system/ids.nix). * Moved some PAM modules out of etc/pam.d to the directories of NixOS modules that use them. svn path=/nixos/branches/modular-nixos/; revision=15717