Mise à jour des dépendances OSX

This commit is contained in:
Administrateur committed 2026-10-04 17:54:30 +02:00
1 parent 2efce1d96b
commit 98040ba17e
23 files changed
+289 -39

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
{ pkgs, import-tree, ... }: { import-tree, ... }:
{ {
home-manager.users.alistreaza = { home-manager.users.alistreaza = {
@@ -33,7 +33,7 @@
targets.darwin.copyApps.enable = false; targets.darwin.copyApps.enable = false;
# Home packages # Home packages
home.packages = with pkgs; []; home.packages = [];
# The state version is required and should stay at the version you # The state version is required and should stay at the version you
# originally installed. # originally installed.
+21 -8
View File
@@ -2,15 +2,28 @@
{ {
system.primaryUser = "alistreaza"; system.primaryUser = "alistreaza";
# Homebrew apps # Homebrew System apps
os.homebrew.ghostty.enable = true;
os.homebrew.zed.enable = true;
os.homebrew.jetbrain.enable = true;
os.homebrew.iina.enable = true;
os.homebrew.zen.enable = true;
os.homebrew.obsidian.enable = true;
os.homebrew.microsoft.enable = true;
os.homebrew.keka.enable = true; os.homebrew.keka.enable = true;
os.homebrew.ghostty.enable = true;
# Homebrew Net apps
os.homebrew.zen.enable = true;
# Homebrew Office apps
os.homebrew.microsoft.word.enable = true;
os.homebrew.microsoft.excel.enable = true;
os.homebrew.microsoft.powerpoint.enable = true;
os.homebrew.microsoft.team.enable = true;
os.homebrew.obsidian.enable = true;
# Homebrew IDE apps
os.homebrew.zed.enable = true;
os.homebrew.jetbrain.intellij.enable = true;
os.homebrew.jetbrain.pycharm.enable = true;
os.homebrew.jetbrain.phpstorm.enable = true;
# Homebrew Media apps
os.homebrew.iina.enable = true;
nixpkgs.hostPlatform = "aarch64-darwin"; nixpkgs.hostPlatform = "aarch64-darwin";
} }
-15
View File
@@ -18,22 +18,7 @@
orientation = "left"; orientation = "left";
persistent-apps = [ persistent-apps = [
{ app = "/System/Applications/Apps.app"; } { app = "/System/Applications/Apps.app"; }
{ app = "/Applications/Zen.app"; }
{ app = "/System/Applications/Mail.app"; } { app = "/System/Applications/Mail.app"; }
{ app = "/Applications/Obsidian.app"; }
{ app = "/Applications/Microsoft Word.app"; }
{ app = "/Applications/Microsoft Excel.app"; }
{ app = "/Applications/Microsoft PowerPoint.app"; }
{ app = "/Applications/Microsoft Teams.app"; }
{ app = "/Applications/Zed.app"; }
{ app = "/Applications/IntelliJ IDEA.app"; }
{ app = "/Applications/PyCharm.app"; }
{ app = "/Applications/CLion.app"; }
{ app = "/Applications/RustRover.app"; }
{ app = "/Applications/PhpStorm.app"; }
{ app = "/Applications/RubyMine.app"; }
{ app = "/Applications/GoLand.app"; }
{ app = "/Applications/Ghostty.app"; }
]; ];
persistent-others = [ ]; persistent-others = [ ];
wvous-bl-corner = 1; wvous-bl-corner = 1;
+22
View File
@@ -0,0 +1,22 @@
{
lib,
pkgs,
config,
...
}:
with lib;
let
cfg = config.home.shell.devenv;
in
{
options.home.shell.devenv = {
enable = mkEnableOption "Git options";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
devenv
];
};
}
+1 -1
View File
@@ -9,7 +9,7 @@ let
in in
{ {
options.home.shell.git = { options.home.shell.git = {
enable = mkEnableOption "Zen Editor options"; enable = mkEnableOption "Git options";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
+4
View File
@@ -13,5 +13,9 @@ in
"ghostty" "ghostty"
]; ];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Ghostty.app"; }
];
}; };
} }
+4
View File
@@ -13,5 +13,9 @@ in
"iterm2" "iterm2"
]; ];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/iTerm.app"; }
];
}; };
} }
@@ -1,22 +1,20 @@
{ lib, config, ... }: { lib, config, ... }:
with lib; with lib;
let let
cfg = config.os.homebrew.jetbrain; cfg = config.os.homebrew.jetbrain.clion;
in in
{ {
options.os.homebrew.jetbrain = { options.os.homebrew.jetbrain.clion = {
enable = mkEnableOption "System jetbrain homebrew service"; enable = mkEnableOption "System jetbrain homebrew service";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
homebrew.casks = [ homebrew.casks = [
"intellij-idea"
"pycharm"
"clion" "clion"
"rustrover" ];
"phpstorm"
"rubymine" system.defaults.dock.persistent-apps = [
"goland" { app = "/Applications/CLion.app"; }
]; ];
}; };
@@ -0,0 +1,21 @@
{ lib, config, ... }:
with lib;
let
cfg = config.os.homebrew.jetbrain.goland;
in
{
options.os.homebrew.jetbrain.goland = {
enable = mkEnableOption "System jetbrain homebrew service";
};
config = mkIf cfg.enable {
homebrew.casks = [
"goland"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/GoLand.app"; }
];
};
}
@@ -0,0 +1,21 @@
{ lib, config, ... }:
with lib;
let
cfg = config.os.homebrew.jetbrain.intellij;
in
{
options.os.homebrew.jetbrain.intellij = {
enable = mkEnableOption "System jetbrain homebrew service";
};
config = mkIf cfg.enable {
homebrew.casks = [
"intellij-idea"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/IntelliJ IDEA.app"; }
];
};
}
@@ -0,0 +1,21 @@
{ lib, config, ... }:
with lib;
let
cfg = config.os.homebrew.jetbrain.phpstorm;
in
{
options.os.homebrew.jetbrain.phpstorm = {
enable = mkEnableOption "System jetbrain homebrew service";
};
config = mkIf cfg.enable {
homebrew.casks = [
"phpstorm"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/PhpStorm.app"; }
];
};
}
@@ -0,0 +1,21 @@
{ lib, config, ... }:
with lib;
let
cfg = config.os.homebrew.jetbrain.pycharm;
in
{
options.os.homebrew.jetbrain.pycharm = {
enable = mkEnableOption "System jetbrain homebrew service";
};
config = mkIf cfg.enable {
homebrew.casks = [
"pycharm"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/PyCharm.app"; }
];
};
}
@@ -0,0 +1,21 @@
{ lib, config, ... }:
with lib;
let
cfg = config.os.homebrew.jetbrain.rubymine;
in
{
options.os.homebrew.jetbrain.rubymine = {
enable = mkEnableOption "System jetbrain homebrew service";
};
config = mkIf cfg.enable {
homebrew.casks = [
"rubymine"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/RubyMine.app"; }
];
};
}
@@ -0,0 +1,21 @@
{ lib, config, ... }:
with lib;
let
cfg = config.os.homebrew.jetbrain.rustrover;
in
{
options.os.homebrew.jetbrain.rustrover = {
enable = mkEnableOption "System jetbrain homebrew service";
};
config = mkIf cfg.enable {
homebrew.casks = [
"rustrover"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/RustRover.app"; }
];
};
}
@@ -0,0 +1,21 @@
{ lib, config, ... }:
with lib;
let
cfg = config.os.homebrew.microsoft.excel;
in
{
options.os.homebrew.microsoft.excel = {
enable = mkEnableOption "System microsoft homebrew service";
};
config = mkIf cfg.enable {
homebrew.casks = [
"microsoft-excel"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Microsoft Excel.app"; }
];
};
}
@@ -0,0 +1,21 @@
{ lib, config, ... }:
with lib;
let
cfg = config.os.homebrew.microsoft.powerpoint;
in
{
options.os.homebrew.microsoft.powerpoint = {
enable = mkEnableOption "System microsoft homebrew service";
};
config = mkIf cfg.enable {
homebrew.casks = [
"microsoft-powerpoint"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Microsoft PowerPoint.app"; }
];
};
}
@@ -0,0 +1,21 @@
{ lib, config, ... }:
with lib;
let
cfg = config.os.homebrew.microsoft.team;
in
{
options.os.homebrew.microsoft.team = {
enable = mkEnableOption "System microsoft homebrew service";
};
config = mkIf cfg.enable {
homebrew.casks = [
"microsoft-teams"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Microsoft Teams.app"; }
];
};
}
@@ -1,19 +1,20 @@
{ lib, config, ... }: { lib, config, ... }:
with lib; with lib;
let let
cfg = config.os.homebrew.microsoft; cfg = config.os.homebrew.microsoft.word;
in in
{ {
options.os.homebrew.microsoft = { options.os.homebrew.microsoft.word = {
enable = mkEnableOption "System microsoft homebrew service"; enable = mkEnableOption "System microsoft homebrew service";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
homebrew.casks = [ homebrew.casks = [
"microsoft-word" "microsoft-word"
"microsoft-excel" ];
"microsoft-powerpoint"
"microsoft-teams" system.defaults.dock.persistent-apps = [
{ app = "/Applications/Microsoft Word.app"; }
]; ];
}; };
+4
View File
@@ -13,5 +13,9 @@ in
"obsidian" "obsidian"
]; ];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Obsidian.app"; }
];
}; };
} }
+4
View File
@@ -13,5 +13,9 @@ in
"zed" "zed"
]; ];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Zed.app"; }
];
}; };
} }
+4
View File
@@ -13,5 +13,9 @@ in
"zen" "zen"
]; ];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Zen.app"; }
];
}; };
} }
+21
View File
@@ -0,0 +1,21 @@
{ lib, config, ... }:
with lib;
let
cfg = config.os.homebrew.zotero;
in
{
options.os.homebrew.zotero = {
enable = mkEnableOption "System zotero homebrew service";
};
config = mkIf cfg.enable {
homebrew.casks = [
"zotero"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Zotero.app"; }
];
};
}
+1
View File
@@ -20,6 +20,7 @@ in
# Install Homebrew under the default prefix # Install Homebrew under the default prefix
enable = true; enable = true;
autoMigrate = true;
# Apple Silicon Only: Also install Homebrew under the default Intel prefix for Rosetta 2 # Apple Silicon Only: Also install Homebrew under the default Intel prefix for Rosetta 2
enableRosetta = false; enableRosetta = false;