On Sun, Jun 3, 2012 at 8:47 AM, Marc Weber <[email protected]> wrote: > Excerpts from Sol Reynolds's message of Sun Jun 03 08:01:36 +0200 2012: >> I'm trying to figure out if it's possible to create an .asoundrc >> from configuration.nix. Any advice if this is a futile quest? > > Well there is /etc/skel/ which let's you add files which will be copied > to each home directory. > > Its important to think about whether you need symlinks or files. > files can be edited by users - symlinks to /etc/skel will always > represent current generation contents .. > > That's all which comes to my mind. > > Maybe alsa* tools already read a global configuration first ( I forgot) > or can be patched to do so.
Yes, indeed. nixos/modules/config/pulseaudio.nix creates /etc/asound.conf to configure ALSA applications to use PulseAudio. This might be a good starting point. It would be useful to be able to write a custom one so you could determine the default sound card to use etc. Cheers, Cillian > > Marc Weber > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
