22 lines
372 B
Nix
22 lines
372 B
Nix
{ lib, config, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.os.homebrew.jetbrain.clion;
|
|
in
|
|
{
|
|
options.os.homebrew.jetbrain.clion = {
|
|
enable = mkEnableOption "System jetbrain homebrew service";
|
|
};
|
|
config = mkIf cfg.enable {
|
|
|
|
homebrew.casks = [
|
|
"clion"
|
|
];
|
|
|
|
system.defaults.dock.persistent-apps = [
|
|
{ app = "/Applications/CLion.app"; }
|
|
];
|
|
|
|
};
|
|
}
|