From 0f7634c6171ec9ba896208766c791410986a5f84 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Wed, 1 Dec 2021 20:55:59 -0500 Subject: [PATCH] fix(services/foldingathome): correct pkgs setup --- modules/modules/services/foldingathome.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/modules/services/foldingathome.nix b/modules/modules/services/foldingathome.nix index df3ffb7..24d99ac 100644 --- a/modules/modules/services/foldingathome.nix +++ b/modules/modules/services/foldingathome.nix @@ -1,4 +1,4 @@ -{ config, lib, ... }: +{ config, lib, pkgs, ... }: with lib; with lib.hlissner; let @@ -24,8 +24,8 @@ in }; environment.systemPackages = with pkgs; [ - (optional cfg.extra.control fahcontrol) - (optional cfg.extra.viewer fahviewer) + (mkIf cfg.extra.control pkgs.fahcontrol) + (mkIf cfg.extra.viewer pkgs.fahviewer) ]; }) ];