From da2cafa15b672822ca861de9955ec43737a287c4 Mon Sep 17 00:00:00 2001 From: Gabriel Fontes Date: Wed, 1 Feb 2023 18:08:37 -0300 Subject: [PATCH] home: add music (fluidsynth) feature --- home/misterio/atlas.nix | 1 + home/misterio/features/music/default.nix | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 home/misterio/features/music/default.nix diff --git a/home/misterio/atlas.nix b/home/misterio/atlas.nix index b5794063..490c4c84 100644 --- a/home/misterio/atlas.nix +++ b/home/misterio/atlas.nix @@ -5,6 +5,7 @@ ./features/rgb ./features/trusted ./features/games + ./features/music ]; wallpaper = (import ./wallpapers).aenami-bright-planet; diff --git a/home/misterio/features/music/default.nix b/home/misterio/features/music/default.nix new file mode 100644 index 00000000..60d5c9d2 --- /dev/null +++ b/home/misterio/features/music/default.nix @@ -0,0 +1,11 @@ +{ pkgs, ... }: +{ + home.packages = with pkgs; [ alsa-utils ]; + services.fluidsynth = { + enable = true; + soundService = "pipewire-pulse"; + extraOptions = [ + "-g 2" + ]; + }; +}