mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-10 13:03:15 -06:00
17 lines
274 B
Nix
17 lines
274 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
inherit (lib) mkEnableOption mkIf;
|
|
cfg = config.languages;
|
|
in {
|
|
options.languages.misc = mkEnableOption "go + rustup";
|
|
config = mkIf cfg.misc {
|
|
environment.systemPackages = with pkgs; [
|
|
go
|
|
rustup
|
|
];
|
|
};
|
|
}
|