Compare commits

...
5 Commits
26 changed files with 49 additions and 131 deletions

No files matched your search

+6 -3
View File
@@ -1,6 +1,6 @@
{ import-tree, ... }: { import-tree, ... }:
{ {
home-manager.users.alistreaza = { home-manager.users.alistreaza = { lib, ... }: {
imports = [ imports = [
(import-tree ../../../../modules/home/common) (import-tree ../../../../modules/home/common)
@@ -32,8 +32,11 @@
targets.darwin.linkApps.enable = false; targets.darwin.linkApps.enable = false;
targets.darwin.copyApps.enable = false; targets.darwin.copyApps.enable = false;
# Home packages # Activation script after all
home.packages = []; 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 # The state version is required and should stay at the version you
# originally installed. # originally installed.
+1 -5
View File
@@ -3,11 +3,6 @@
system.primaryUser = "alistreaza"; system.primaryUser = "alistreaza";
os.homebrew.enable = true; os.homebrew.enable = true;
system.defaults.dock.persistent-apps = [
{ app = "/System/Applications/Apps.app"; }
{ app = "/System/Applications/Mail.app"; }
];
# Homebrew System apps # Homebrew System apps
os.homebrew.keka.enable = true; os.homebrew.keka.enable = true;
os.homebrew.ghostty.enable = true; os.homebrew.ghostty.enable = true;
@@ -24,6 +19,7 @@
os.homebrew.zotero.enable = true; os.homebrew.zotero.enable = true;
# Homebrew IDE apps # Homebrew IDE apps
os.shell.devenv.enable = true;
os.homebrew.zed.enable = true; os.homebrew.zed.enable = true;
os.homebrew.jetbrain.intellij.enable = true; os.homebrew.jetbrain.intellij.enable = true;
os.homebrew.jetbrain.pycharm.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; controlcenter.BatteryShowPercentage = true;
}; };
}; };
} }
+1 -1
View File
@@ -1,7 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages;
boot.kernelModules = [ boot.kernelModules = [
"coretemp" "coretemp"
"nct6775" "nct6775"
-4
View File
@@ -13,9 +13,5 @@ in
"ghostty" "ghostty"
]; ];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Ghostty.app"; }
];
}; };
} }
-4
View File
@@ -13,9 +13,5 @@ in
"iterm2" "iterm2"
]; ];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/iTerm.app"; }
];
}; };
} }
@@ -13,9 +13,5 @@ in
"clion" "clion"
]; ];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/CLion.app"; }
];
}; };
} }
@@ -13,9 +13,5 @@ in
"goland" "goland"
]; ];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/GoLand.app"; }
];
}; };
} }
@@ -13,9 +13,5 @@ in
"intellij-idea" "intellij-idea"
]; ];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/IntelliJ IDEA.app"; }
];
}; };
} }
@@ -13,9 +13,5 @@ in
"phpstorm" "phpstorm"
]; ];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/PhpStorm.app"; }
];
}; };
} }
@@ -13,9 +13,5 @@ in
"pycharm" "pycharm"
]; ];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/PyCharm.app"; }
];
}; };
} }
@@ -13,9 +13,5 @@ in
"rubymine" "rubymine"
]; ];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/RubyMine.app"; }
];
}; };
} }
@@ -13,9 +13,5 @@ in
"rustrover" "rustrover"
]; ];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/RustRover.app"; }
];
}; };
} }
@@ -13,9 +13,5 @@ in
"microsoft-excel" "microsoft-excel"
]; ];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Microsoft Excel.app"; }
];
}; };
} }
@@ -13,9 +13,5 @@ in
"microsoft-powerpoint" "microsoft-powerpoint"
]; ];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Microsoft PowerPoint.app"; }
];
}; };
} }
@@ -13,9 +13,5 @@ in
"microsoft-teams" "microsoft-teams"
]; ];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Microsoft Teams.app"; }
];
}; };
} }
@@ -13,9 +13,5 @@ in
"microsoft-word" "microsoft-word"
]; ];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Microsoft Word.app"; }
];
}; };
} }
-4
View File
@@ -13,9 +13,5 @@ in
"obsidian" "obsidian"
]; ];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Obsidian.app"; }
];
}; };
} }
-4
View File
@@ -13,9 +13,5 @@ in
"zed" "zed"
]; ];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Zed.app"; }
];
}; };
} }
-4
View File
@@ -13,9 +13,5 @@ in
"zen" "zen"
]; ];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Zen.app"; }
];
}; };
} }
-4
View File
@@ -13,9 +13,5 @@ in
"zotero" "zotero"
]; ];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Zotero.app"; }
];
}; };
} }
+5 -2
View File
@@ -36,8 +36,11 @@ in
mutableTaps = false; mutableTaps = false;
}; };
homebrew.enable = true; homebrew = {
homebrew.taps = builtins.attrNames config.nix-homebrew.taps; 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;
};
}
+1 -1
View File
@@ -13,7 +13,7 @@ in
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable; hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.latest;
services.xserver.enable = true; services.xserver.enable = true;
services.xserver.videoDrivers = [ services.xserver.videoDrivers = [