Compare commits

...
3 Commits
Author SHA1 Message Date
Administrateur f6992dc859 Suppression de Stram et nettoyage 2026-10-15 19:27:43 +02:00
Administrateur b6c676dfd2 We remove all widget by a activation script 2026-10-14 20:04:55 +02:00
Administrateur 6fe1a376a5 Fix on dock initialisation 2026-10-14 18:59:54 +02:00
24 changed files with 47 additions and 129 deletions

No files matched your search

+6 -3
View File
@@ -1,6 +1,6 @@
{ import-tree, ... }:
{
home-manager.users.alistreaza = {
home-manager.users.alistreaza = { lib, ... }: {
imports = [
(import-tree ../../../../modules/home/common)
@@ -32,8 +32,11 @@
targets.darwin.linkApps.enable = false;
targets.darwin.copyApps.enable = false;
# Home packages
home.packages = [];
# Activation script after all
home.activation.widgets = lib.hm.dag.entryAfter ["writeBoundary"] ''
run /usr/bin/defaults delete com.apple.notificationcenterui || true
run /usr/bin/killall NotificationCenter || true
'';
# The state version is required and should stay at the version you
# originally installed.
+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"; };
}
+2
View File
@@ -43,4 +43,6 @@
controlcenter.BatteryShowPercentage = true;
};
};
}
-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"; }
];
};
}
+5 -2
View File
@@ -36,8 +36,11 @@ in
mutableTaps = false;
};
homebrew.enable = true;
homebrew.taps = builtins.attrNames config.nix-homebrew.taps;
homebrew = {
enable = true;
onActivation.cleanup = "zap";
taps = builtins.attrNames config.nix-homebrew.taps;
};
};
}
@@ -1,22 +0,0 @@
{
lib,
config,
pkgs,
...
}:
with lib;
let
cfg = config.os.apps.games.protonge;
in
{
options.os.apps.games.protonge = {
enable = mkEnableOption "System pipewire service";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
umu-launcher
];
};
}
-29
View File
@@ -1,29 +0,0 @@
{
lib,
config,
pkgs,
...
}:
with lib;
let
cfg = config.os.apps.games.steam;
in
{
options.os.apps.games.steam = {
enable = mkEnableOption "System pipewire service";
};
config = mkIf cfg.enable {
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
extraCompatPackages = with pkgs; [
proton-ge-bin
];
};
programs.gamemode.enable = true;
};
}