2024-01-23 19:13:42 -06:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
2024-09-13 15:09:45 -05:00
|
|
|
flake,
|
2024-01-23 19:13:42 -06:00
|
|
|
...
|
2024-05-06 14:32:00 -05:00
|
|
|
}:
|
|
|
|
let
|
2024-02-27 10:27:41 -06:00
|
|
|
inherit (lib) mkIfIn;
|
2024-02-27 10:11:44 -06:00
|
|
|
cfg = config.oizys.languages;
|
2024-05-06 14:32:00 -05:00
|
|
|
in
|
|
|
|
{
|
2024-02-27 10:27:41 -06:00
|
|
|
config = mkIfIn "nim" cfg {
|
2024-09-10 14:13:00 -05:00
|
|
|
environment.systemPackages =
|
2024-09-13 15:09:45 -05:00
|
|
|
(with pkgs; [
|
2024-09-10 14:13:00 -05:00
|
|
|
nim
|
|
|
|
nimble
|
2024-09-13 15:09:45 -05:00
|
|
|
])
|
|
|
|
++ (with (flake.pkgs "self"); [
|
|
|
|
nimlangserver
|
|
|
|
nph
|
|
|
|
]);
|
2024-01-23 19:13:42 -06:00
|
|
|
};
|
2024-01-23 11:51:13 -06:00
|
|
|
}
|