mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 06:03:15 -06:00
24 lines
320 B
Nix
24 lines
320 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
flake,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib) mkIfIn;
|
|
cfg = config.oizys.languages;
|
|
in
|
|
{
|
|
config = mkIfIn "nim" cfg {
|
|
environment.systemPackages =
|
|
(with pkgs; [
|
|
nim
|
|
])
|
|
++ (with (flake.pkgs "self"); [
|
|
nimlangserver
|
|
# nph
|
|
nimble
|
|
]);
|
|
};
|
|
}
|