mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
15 lines
279 B
Nix
15 lines
279 B
Nix
|
{ config, pkgs, lib, ... }:
|
||
|
let
|
||
|
cfg = config.sconfig.devtools;
|
||
|
in
|
||
|
{
|
||
|
options.sconfig.devtools.enable = lib.mkEnableOption "Development Tools";
|
||
|
|
||
|
config = lib.mkIf cfg.enable {
|
||
|
environment.systemPackages = with pkgs;
|
||
|
[
|
||
|
rustc.llvmPackages.lld
|
||
|
];
|
||
|
};
|
||
|
}
|