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
(writeShellScriptBin "nhmu" ''
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
# # overrides. You can do that directly here, just don't forget the

View File

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