Fix on dock initialisation

This commit is contained in:
Administrateur committed 2026-10-14 18:59:54 +02:00
1 parent cd0d08ccf1
commit 6fe1a376a5
20 files changed
+34 -76

No files matched your search

-3
View File
@@ -32,9 +32,6 @@
targets.darwin.linkApps.enable = false;
targets.darwin.copyApps.enable = false;
# Home packages
home.packages = [];
# The state version is required and should stay at the version you
# originally installed.
home.stateVersion = "26.05";
+1 -5
View File
@@ -3,11 +3,6 @@
system.primaryUser = "alistreaza";
os.homebrew.enable = true;
system.defaults.dock.persistent-apps = [
{ app = "/System/Applications/Apps.app"; }
{ app = "/System/Applications/Mail.app"; }
];
# Homebrew System apps
os.homebrew.keka.enable = true;
os.homebrew.ghostty.enable = true;
@@ -24,6 +19,7 @@
os.homebrew.zotero.enable = true;
# Homebrew IDE apps
os.shell.devenv.enable = true;
os.homebrew.zed.enable = true;
os.homebrew.jetbrain.intellij.enable = true;
os.homebrew.jetbrain.pycharm.enable = true;
+33
View File
@@ -0,0 +1,33 @@
{ config, lib, ... }:
with lib;
{
system.defaults.dock.persistent-apps =
[
{ app = "/System/Applications/Apps.app"; }
{ app = "/System/Applications/Mail.app"; }
]
# 2. Applications Net
++ optional config.os.homebrew.zen.enable { app = "/Applications/Zen.app"; }
++ optional config.os.homebrew.microsoft.team.enable { app = "/Applications/Microsoft Teams.app"; }
# 3. Applications Office
++ optional config.os.homebrew.microsoft.word.enable { app = "/Applications/Microsoft Word.app"; }
++ optional config.os.homebrew.microsoft.excel.enable { app = "/Applications/Microsoft Excel.app"; }
++ optional config.os.homebrew.microsoft.powerpoint.enable { app = "/Applications/Microsoft PowerPoint.app"; }
++ optional config.os.homebrew.obsidian.enable { app = "/Applications/Obsidian.app"; }
++ optional config.os.homebrew.zotero.enable { app = "/Applications/Zotero.app"; }
# 4. Applications IDE
++ optional config.os.homebrew.zed.enable { app = "/Applications/Zed.app"; }
++ optional config.os.homebrew.jetbrain.intellij.enable { app = "/Applications/IntelliJ IDEA.app"; }
++ optional config.os.homebrew.jetbrain.pycharm.enable { app = "/Applications/PyCharm.app"; }
++ optional config.os.homebrew.jetbrain.phpstorm.enable { app = "/Applications/PhpStorm.app"; }
++ optional config.os.homebrew.jetbrain.clion.enable { app = "/Applications/CLion.app"; }
++ optional config.os.homebrew.jetbrain.goland.enable { app = "/Applications/GoLand.app"; }
++ optional config.os.homebrew.jetbrain.rubymine.enable { app = "/Applications/RubyMine.app"; }
++ optional config.os.homebrew.jetbrain.rustrover.enable { app = "/Applications/RustRover.app"; }
# 5. Applications Système (Utilitaires)
++ optional config.os.homebrew.ghostty.enable { app = "/Applications/Ghostty.app"; };
}
-4
View File
@@ -13,9 +13,5 @@ in
"ghostty"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Ghostty.app"; }
];
};
}
-4
View File
@@ -13,9 +13,5 @@ in
"iterm2"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/iTerm.app"; }
];
};
}
@@ -13,9 +13,5 @@ in
"clion"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/CLion.app"; }
];
};
}
@@ -13,9 +13,5 @@ in
"goland"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/GoLand.app"; }
];
};
}
@@ -13,9 +13,5 @@ in
"intellij-idea"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/IntelliJ IDEA.app"; }
];
};
}
@@ -13,9 +13,5 @@ in
"phpstorm"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/PhpStorm.app"; }
];
};
}
@@ -13,9 +13,5 @@ in
"pycharm"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/PyCharm.app"; }
];
};
}
@@ -13,9 +13,5 @@ in
"rubymine"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/RubyMine.app"; }
];
};
}
@@ -13,9 +13,5 @@ in
"rustrover"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/RustRover.app"; }
];
};
}
@@ -13,9 +13,5 @@ in
"microsoft-excel"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Microsoft Excel.app"; }
];
};
}
@@ -13,9 +13,5 @@ in
"microsoft-powerpoint"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Microsoft PowerPoint.app"; }
];
};
}
@@ -13,9 +13,5 @@ in
"microsoft-teams"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Microsoft Teams.app"; }
];
};
}
@@ -13,9 +13,5 @@ in
"microsoft-word"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Microsoft Word.app"; }
];
};
}
-4
View File
@@ -13,9 +13,5 @@ in
"obsidian"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Obsidian.app"; }
];
};
}
-4
View File
@@ -13,9 +13,5 @@ in
"zed"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Zed.app"; }
];
};
}
-4
View File
@@ -13,9 +13,5 @@ in
"zen"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Zen.app"; }
];
};
}
-4
View File
@@ -13,9 +13,5 @@ in
"zotero"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Zotero.app"; }
];
};
}