fixed focusrite module

This commit is contained in:
2025-09-13 16:56:49 -04:00
parent 0e4d27c861
commit 82eeacddaf

View File

@@ -8,7 +8,7 @@
with lib; let with lib; let
cfg = config.sound.hardware.focusrite; cfg = config.sound.hardware.focusrite;
in { in {
options.focusrite = { options.sound.hardware.focusrite = {
enable = mkEnableOption "Focusrite audio interface support"; enable = mkEnableOption "Focusrite audio interface support";
guiSupport = mkOption { guiSupport = mkOption {
type = types.bool; type = types.bool;
@@ -21,7 +21,6 @@ in {
environment.systemPackages = with pkgs; environment.systemPackages = with pkgs;
[ [
scarlett2 scarlett2
alsa-scarlett-gui
] ]
++ ( ++ (
if cfg.guiSupport if cfg.guiSupport