fix(services/foldingathome): correct pkgs setup

This commit is contained in:
Infinidoge 2021-12-01 20:55:59 -05:00
parent 39de677b1c
commit 0f7634c617

View file

@ -1,4 +1,4 @@
{ config, lib, ... }: { config, lib, pkgs, ... }:
with lib; with lib;
with lib.hlissner; with lib.hlissner;
let let
@ -24,8 +24,8 @@ in
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
(optional cfg.extra.control fahcontrol) (mkIf cfg.extra.control pkgs.fahcontrol)
(optional cfg.extra.viewer fahviewer) (mkIf cfg.extra.viewer pkgs.fahviewer)
]; ];
}) })
]; ];