oizys/modules/languages/zig.nix

19 lines
245 B
Nix
Raw Permalink Normal View History

2024-04-05 12:18:44 -05:00
{
config,
lib,
flake,
2024-04-05 12:18:44 -05:00
...
2024-05-06 14:32:00 -05:00
}:
let
2024-04-05 12:18:44 -05:00
inherit (lib) mkIfIn;
cfg = config.oizys.languages;
2024-05-06 14:32:00 -05:00
in
{
2024-04-05 12:18:44 -05:00
config = mkIfIn "zig" cfg {
2024-05-06 14:32:00 -05:00
environment.systemPackages = [
2024-08-09 13:56:36 -05:00
(flake.pkgs "zig-overlay").master
(flake.pkg "zls")
2024-05-06 14:32:00 -05:00
];
2024-04-05 12:18:44 -05:00
};
}