xin/configs/develop.nix

16 lines
397 B
Nix
Raw Normal View History

2022-08-25 12:21:35 -06:00
{ config, lib, pkgs, ... }:
with lib; {
options = {
jetbrains = { enable = mkEnableOption "Install JetBrains editors"; };
};
config = mkMerge [
(mkIf config.jetbrains.enable {
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [ "idea-ultimate" ];
environment.systemPackages = with pkgs; [ jetbrains.idea-ultimate sshfs ];
})
];
}