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