fixed focusrite module
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user