mirror of
https://git.oat.zone/dark-firepit/dotfiles
synced 2024-05-11 22:56:07 +02:00
20 lines
306 B
Nix
20 lines
306 B
Nix
|
{ config, lib, options, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
let
|
||
|
cfg = config.modules.dev.llvm;
|
||
|
in {
|
||
|
options.modules.dev.llvm = {
|
||
|
enable = mkOption {
|
||
|
type = types.bool;
|
||
|
default = false;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
config = mkIf cfg.enable {
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
llvm
|
||
|
];
|
||
|
};
|
||
|
}
|