attempting ghostty wrapper

This commit is contained in:
John Lancaster
2025-07-06 12:18:59 -05:00
parent 2120d3ba00
commit f586aba5b0
2 changed files with 5 additions and 1 deletions

View File

@@ -55,7 +55,7 @@
sops sops
(writeShellScriptBin "nhmu" '' (writeShellScriptBin "nhmu" ''
nix flake update --flake ~/.config/home-manager nix flake update --flake ~/.config/home-manager
nix run home-manager -- switch --flake ~/.config/home-manager nix run home-manager -- switch --flake ~/.config/home-manager --impure
'') '')
# # It is sometimes useful to fine-tune packages, for example, by applying # # It is sometimes useful to fine-tune packages, for example, by applying
# # overrides. You can do that directly here, just don't forget the # # overrides. You can do that directly here, just don't forget the

View File

@@ -4,9 +4,13 @@
TERMINAL = "ghostty"; TERMINAL = "ghostty";
}; };
nixGL.defaultWrapper = "mesa";
nixGL.installScripts = [ "mesa" ];
programs.ghostty = lib.mkIf (config.enableShell && config.graphical) { programs.ghostty = lib.mkIf (config.enableShell && config.graphical) {
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;
package = (config.lib.nixGL.wrap pkgs.ghostty);
settings = { settings = {
# command = "TERM=xterm-256color /usr/bin/bash"; # command = "TERM=xterm-256color /usr/bin/bash";
font-size = 12; font-size = 12;