Compare commits
5
Commits
cd0d08ccf1
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fc71484247 | ||
|
|
34dd331a1b | ||
|
|
f6992dc859 | ||
|
|
b6c676dfd2 | ||
|
|
6fe1a376a5 |
No files matched your search
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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"; };
|
||||
}
|
||||
@@ -43,4 +43,6 @@
|
||||
controlcenter.BatteryShowPercentage = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
boot.kernelPackages = pkgs.linuxPackages;
|
||||
boot.kernelModules = [
|
||||
"coretemp"
|
||||
"nct6775"
|
||||
|
||||
@@ -13,9 +13,5 @@ in
|
||||
"ghostty"
|
||||
];
|
||||
|
||||
system.defaults.dock.persistent-apps = [
|
||||
{ app = "/Applications/Ghostty.app"; }
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
@@ -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"; }
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
@@ -13,9 +13,5 @@ in
|
||||
"obsidian"
|
||||
];
|
||||
|
||||
system.defaults.dock.persistent-apps = [
|
||||
{ app = "/Applications/Obsidian.app"; }
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
@@ -13,9 +13,5 @@ in
|
||||
"zed"
|
||||
];
|
||||
|
||||
system.defaults.dock.persistent-apps = [
|
||||
{ app = "/Applications/Zed.app"; }
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
@@ -13,9 +13,5 @@ in
|
||||
"zen"
|
||||
];
|
||||
|
||||
system.defaults.dock.persistent-apps = [
|
||||
{ app = "/Applications/Zen.app"; }
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
@@ -13,9 +13,5 @@ in
|
||||
"zotero"
|
||||
];
|
||||
|
||||
system.defaults.dock.persistent-apps = [
|
||||
{ app = "/Applications/Zotero.app"; }
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
@@ -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
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
};
|
||||
}
|
||||
@@ -13,7 +13,7 @@ in
|
||||
};
|
||||
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.videoDrivers = [
|
||||
|
||||
Reference in new issue
Block a user