diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-12-14 00:58:22 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-12-14 02:16:16 +0100 |
commit | e3c15ec94649c7ba079c3332fc4afc5bda0b4b5a (patch) | |
tree | 215c9048c49c5fbcab9484893024b0bd42f74d9f /modules/profiles/manifests/synth.pp | |
parent | Merge branch 'raspi' (diff) | |
download | webdav_server-e3c15ec94649c7ba079c3332fc4afc5bda0b4b5a.tar.gz webdav_server-e3c15ec94649c7ba079c3332fc4afc5bda0b4b5a.tar.xz |
Migrate stuff from ansible.
Diffstat (limited to 'modules/profiles/manifests/synth.pp')
-rw-r--r-- | modules/profiles/manifests/synth.pp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/modules/profiles/manifests/synth.pp b/modules/profiles/manifests/synth.pp new file mode 100644 index 0000000..eb01f8f --- /dev/null +++ b/modules/profiles/manifests/synth.pp @@ -0,0 +1,33 @@ +class profiles::synth { + + package { 'freepats-general-midi': + ensure => installed, + } + + file { '/etc/conf.d/fluidsynth': + content => @(EOF) + SOUND_FONT=/usr/share/soundfonts/freepats-general-midi.sf2 + OTHER_OPTS='-a alsa' + | EOF + } + + # TODO pull in aur package from + # https://git.hornquist.se/archpkg/aconnect-service/ + + # TODO setup the rest + + # - template: + # dest: ~/.config/aconnect/impact + # source: aconnect + # vars: + # input_unit: Impact LX25 + # output_unit: FLUID Synth + # + # - systemd: + # name: aconnect@{{ impact }} + # scope: user + # enabled: yes + # become: yes + # become_user: hugo + +} |