mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
home-manager/suites/desktop: fix conditional... again
This commit is contained in:
parent
917cd7e01d
commit
c64c8018b8
@ -43,7 +43,7 @@ in
|
|||||||
]
|
]
|
||||||
++ (
|
++ (
|
||||||
let
|
let
|
||||||
hasBlenderNixOSModule = nixosCfg.programs.blender.enable or false;
|
hasBlenderNixOSModule = attrs.nixosConfig.programs.blender.enable or false;
|
||||||
in
|
in
|
||||||
lib.optional (!hasBlenderNixOSModule) pkgs.blender
|
lib.optional (!hasBlenderNixOSModule) pkgs.blender
|
||||||
);
|
);
|
||||||
@ -56,12 +56,11 @@ in
|
|||||||
zrythm # The freer FL Studio (if you're sailing by the high seven seas).
|
zrythm # The freer FL Studio (if you're sailing by the high seven seas).
|
||||||
supercollider # Not to be confused with the other Super Collider.
|
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.
|
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.
|
ffmpeg-full # Ah yes, everyman's multimedia swiss army knife.
|
||||||
]
|
]
|
||||||
++ (
|
++ (
|
||||||
let
|
let
|
||||||
hasDesktopSuiteEnabled = nixosCfg.suites.desktop.enable or false;
|
hasDesktopSuiteEnabled = attrs.nixosConfig.suites.desktop.enable or false;
|
||||||
in
|
in
|
||||||
lib.optionals hasDesktopSuiteEnabled (with pkgs; [
|
lib.optionals hasDesktopSuiteEnabled (with pkgs; [
|
||||||
yabridge # Building bridges to Windows and Linux audio tools.
|
yabridge # Building bridges to Windows and Linux audio tools.
|
||||||
|
Loading…
Reference in New Issue
Block a user