Add ghostty & fixes

This commit is contained in:
2026-02-18 12:10:59 +01:00
parent ce81e66652
commit 193cc6b9cd
9 changed files with 55 additions and 42 deletions
+5
View File
@@ -19,5 +19,10 @@ in
maven
];
home.sessionVariables = {
JAVA_HOME = "${pkgs.jdk25_headless}";
M2_HOME = "${config.home.sessionVariables.XDG_DATA_HOME}/m2";
};
};
}
+6 -6
View File
@@ -14,12 +14,12 @@ in
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
rust-bin.stable.latest.default.override
{
extensions = [ "rust-src" ];
}
];
home.packages = with pkgs; [ rustup ];
home.sessionVariables = {
CARGO_HOME = "${config.home.sessionVariables.XDG_DATA_HOME}/cargo";
RUSTUP_HOME = "${config.home.sessionVariables.XDG_DATA_HOME}/rustup";
};
};
}
+17
View File
@@ -0,0 +1,17 @@
{ lib, config, ... }:
with lib;
let
cfg = config.os.homebrew.ghostty;
in
{
options.os.homebrew.ghostty = {
enable = mkEnableOption "System iterm homebrew service";
};
config = mkIf cfg.enable {
homebrew.casks = [
"ghostty"
];
};
}