fork/home-manager
git clone https://git.julia.blue/fork/home-manager
eec22729
master
1{ ...} : 2 3{ 4services . fluidsynth . enable = true ; 5services . fluidsynth . soundService = "pipewire-pulse" ; 6services . fluidsynth . soundFont = "/path/to/soundFont" ; 7services . fluidsynth . extraOptions = [ "--sample-rate 96000" ]; 8 9test . stubs . fluidsynth = { }; 10 11nmt . script = '' 12serviceFile =home-files/.config/systemd/user/fluidsynth.service 13 14assertFileExists $ serviceFile 15 16assertFileContains $ serviceFile \ 17'ExecStart=@fluidsynth@/bin/fluidsynth -a pulseaudio -si --sample-rate 96000 /path/to/soundFont' 18 19assertFileContains $ serviceFile \ 20'After=pipewire-pulse.service' 21 22assertFileContains $ serviceFile \ 23'BindsTo=pipewire-pulse.service' 24'' ; 25}