2025-02-18 02:20:53 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
cfg = config.marleyos.programs.phpstorm;
|
|
|
|
in {
|
|
|
|
options.marleyos.programs.phpstorm.enable = lib.mkEnableOption "phpstorm";
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
2025-02-18 04:23:17 +00:00
|
|
|
# JetBrains products are unfree.
|
|
|
|
nixpkgs.config.allowUnfree = lib.mkForce true;
|
|
|
|
|
2025-02-18 02:20:53 +00:00
|
|
|
home.packages = with pkgs; [
|
2025-02-20 02:28:39 +00:00
|
|
|
# jetbrains.phpstorm
|
|
|
|
marleyos.phpstorm-with-node
|
2025-02-18 02:20:53 +00:00
|
|
|
];
|
2025-02-18 21:00:42 +00:00
|
|
|
|
|
|
|
home.file.".ideavimrc".source = ./.ideavimrc;
|
2025-02-18 02:20:53 +00:00
|
|
|
};
|
|
|
|
}
|