oizys/modules/languages/misc.nix
2024-04-05 09:59:46 -05:00

20 lines
322 B
Nix

{
inputs,
config,
lib,
pkgs,
...
}: let
inherit (lib) mkIfIn;
cfg = config.oizys.languages;
zig = inputs.zig2nix.outputs.packages.${pkgs.system}.zig.master.bin;
in {
config = mkIfIn "misc" cfg {
environment.systemPackages = with pkgs;
[
go
rustup
]
++ [zig];
};
}