home-manager/suites/desktop: fix conditional... again

This commit is contained in:
Gabriel Arazas 2024-07-30 18:30:20 +08:00
parent 917cd7e01d
commit c64c8018b8
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -43,7 +43,7 @@ in
]
++ (
let
hasBlenderNixOSModule = nixosCfg.programs.blender.enable or false;
hasBlenderNixOSModule = attrs.nixosConfig.programs.blender.enable or false;
in
lib.optional (!hasBlenderNixOSModule) pkgs.blender
);
@ -56,12 +56,11 @@ in
zrythm # The freer FL Studio (if you're sailing by the high seven seas).
supercollider # Not to be confused with the other Super Collider.
sonic-pi # The only pie you'll get from this is worms which I heard is addicting.
ffmpeg-full # Ah yes, everyman's multimedia swiss army knife.
]
++ (
let
hasDesktopSuiteEnabled = nixosCfg.suites.desktop.enable or false;
hasDesktopSuiteEnabled = attrs.nixosConfig.suites.desktop.enable or false;
in
lib.optionals hasDesktopSuiteEnabled (with pkgs; [
yabridge # Building bridges to Windows and Linux audio tools.