Add darwin configuration into

This commit is contained in:
Laurent Gueret
2026-02-11 13:15:26 +01:00
parent 80e5d0b8b5
commit e75b09a750
71 changed files with 562 additions and 151 deletions
+22
View File
@@ -0,0 +1,22 @@
{
lib,
pkgs,
config,
...
}:
with lib;
let
cfg = config.home.ide.jetbrains.clion;
in
{
options.home.ide.jetbrains.clion = {
enable = mkEnableOption "JetBrains options";
};
config = mkIf cfg.enable {
home.packages = with pkgs.unstable; [
jetbrains.clion
];
};
}
+22
View File
@@ -0,0 +1,22 @@
{
lib,
pkgs,
config,
...
}:
with lib;
let
cfg = config.home.ide.jetbrains.datagrip;
in
{
options.home.ide.jetbrains.datagrip = {
enable = mkEnableOption "JetBrains options";
};
config = mkIf cfg.enable {
home.packages = with pkgs.unstable; [
jetbrains.datagrip
];
};
}
@@ -0,0 +1,22 @@
{
lib,
pkgs,
config,
...
}:
with lib;
let
cfg = config.home.ide.jetbrains.dataspell;
in
{
options.home.ide.jetbrains.dataspell = {
enable = mkEnableOption "JetBrains options";
};
config = mkIf cfg.enable {
home.packages = with pkgs.unstable; [
jetbrains.dataspell
];
};
}
+22
View File
@@ -0,0 +1,22 @@
{
lib,
pkgs,
config,
...
}:
with lib;
let
cfg = config.home.ide.jetbrains.goland;
in
{
options.home.ide.jetbrains.goland = {
enable = mkEnableOption "JetBrains options";
};
config = mkIf cfg.enable {
home.packages = with pkgs.unstable; [
jetbrains.goland
];
};
}
+22
View File
@@ -0,0 +1,22 @@
{
lib,
pkgs,
config,
...
}:
with lib;
let
cfg = config.home.ide.jetbrains.idea;
in
{
options.home.ide.jetbrains.idea = {
enable = mkEnableOption "JetBrains options";
};
config = mkIf cfg.enable {
home.packages = with pkgs.unstable; [
jetbrains.idea
];
};
}
+22
View File
@@ -0,0 +1,22 @@
{
lib,
pkgs,
config,
...
}:
with lib;
let
cfg = config.home.ide.jetbrains.phpstorm;
in
{
options.home.ide.jetbrains.phpstorm = {
enable = mkEnableOption "JetBrains options";
};
config = mkIf cfg.enable {
home.packages = with pkgs.unstable; [
jetbrains.phpstorm
];
};
}
+22
View File
@@ -0,0 +1,22 @@
{
lib,
pkgs,
config,
...
}:
with lib;
let
cfg = config.home.ide.jetbrains.pycharm;
in
{
options.home.ide.jetbrains.pycharm = {
enable = mkEnableOption "JetBrains options";
};
config = mkIf cfg.enable {
home.packages = with pkgs.unstable; [
jetbrains.pycharm
];
};
}
+22
View File
@@ -0,0 +1,22 @@
{
lib,
pkgs,
config,
...
}:
with lib;
let
cfg = config.home.ide.jetbrains.rider;
in
{
options.home.ide.jetbrains.rider = {
enable = mkEnableOption "JetBrains options";
};
config = mkIf cfg.enable {
home.packages = with pkgs.unstable; [
jetbrains.rider
];
};
}
+22
View File
@@ -0,0 +1,22 @@
{
lib,
pkgs,
config,
...
}:
with lib;
let
cfg = config.home.ide.jetbrains.rubymine;
in
{
options.home.ide.jetbrains.rubymine = {
enable = mkEnableOption "JetBrains options";
};
config = mkIf cfg.enable {
home.packages = with pkgs.unstable; [
jetbrains.ruby-mine
];
};
}
@@ -0,0 +1,22 @@
{
lib,
pkgs,
config,
...
}:
with lib;
let
cfg = config.home.ide.jetbrains.rustrover;
in
{
options.home.ide.jetbrains.rustrover = {
enable = mkEnableOption "JetBrains options";
};
config = mkIf cfg.enable {
home.packages = with pkgs.unstable; [
jetbrains.rust-rover
];
};
}
+22
View File
@@ -0,0 +1,22 @@
{
lib,
pkgs,
config,
...
}:
with lib;
let
cfg = config.home.ide.jetbrains.webstorm;
in
{
options.home.ide.jetbrains.webstorm = {
enable = mkEnableOption "JetBrains options";
};
config = mkIf cfg.enable {
home.packages = with pkgs.unstable; [
jetbrains.webstorm
];
};
}