mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-08-21 14:47:18 -05:00
16 lines
267 B
Nix
16 lines
267 B
Nix
{config, lib,pkgs,...}:
|
|
let
|
|
inherit (lib) mkEnableOption mkIf;
|
|
cfg = config.languages.misc;
|
|
in
|
|
{
|
|
options.languages.misc.enable = mkEnableOption "go + rustup";
|
|
config = mkIf cfg.enable {
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
go
|
|
rustup
|
|
];
|
|
};
|
|
}
|