summaryrefslogtreecommitdiff
path: root/manifests/synth.pp
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-12-14 00:58:22 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-12-14 02:16:16 +0100
commitdffd09001ccdf3d4d23ca3f37ac9878e41450a3b (patch)
tree8798932a604507d9d7b7761c5666acb52994bcae /manifests/synth.pp
parentGandalf web certbot. (diff)
downloadprofiles-dffd09001ccdf3d4d23ca3f37ac9878e41450a3b.tar.gz
profiles-dffd09001ccdf3d4d23ca3f37ac9878e41450a3b.tar.xz
Migrate stuff from ansible.
Diffstat (limited to '')
-rw-r--r--manifests/synth.pp33
1 files changed, 33 insertions, 0 deletions
diff --git a/manifests/synth.pp b/manifests/synth.pp
new file mode 100644
index 0000000..eb01f8f
--- /dev/null
+++ b/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
+
+}