mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 10:10:45 -06:00
22 lines
274 B
Nix
22 lines
274 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
flake,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib) mkIfIn;
|
|
cfg = config.oizys.languages;
|
|
in
|
|
{
|
|
config = mkIfIn "nim" cfg {
|
|
environment.systemPackages = with pkgs; [
|
|
nim
|
|
nimlangserver
|
|
nph
|
|
|
|
(flake.pkgs "self").nimble
|
|
];
|
|
};
|
|
}
|