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.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)
];
})
];