oizys/modules/languages/misc.nix

21 lines
322 B
Nix
Raw Permalink Normal View History

2024-02-27 10:11:44 -06:00
{
2024-04-04 12:13:49 -05:00
inputs,
2024-02-27 10:11:44 -06:00
config,
lib,
pkgs,
...
}: let
2024-02-27 10:27:41 -06:00
inherit (lib) mkIfIn;
2024-02-27 10:11:44 -06:00
cfg = config.oizys.languages;
2024-04-04 12:13:49 -05:00
zig = inputs.zig2nix.outputs.packages.${pkgs.system}.zig.master.bin;
2024-02-27 10:11:44 -06:00
in {
2024-02-27 10:27:41 -06:00
config = mkIfIn "misc" cfg {
2024-04-05 09:59:46 -05:00
environment.systemPackages = with pkgs;
[
go
rustup
]
++ [zig];
2024-02-27 10:11:44 -06:00
};
}