mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-09-12 05:47:19 -05:00
19 lines
306 B
Nix
19 lines
306 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 ];
|
|
};
|
|
}
|