summaryrefslogtreecommitdiff
path: root/manifests/synth.pp
blob: afbe2ca8b8abe4293dabf556656572532fd9f186 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
class profiles::synth {

  ensure_packages([
    'freepats-general-midi',
    ])

  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

}