oizys/modules/languages/zig.nix

18 lines
245 B
Nix

{
config,
lib,
flake,
...
}:
let
inherit (lib) mkIfIn;
cfg = config.oizys.languages;
in
{
config = mkIfIn "zig" cfg {
environment.systemPackages = [
(flake.pkgs "zig-overlay").master
(flake.pkg "zls")
];
};
}