diff --git a/homeManagerModules/default.nix b/homeManagerModules/default.nix index 6a3ddf1..da8c644 100644 --- a/homeManagerModules/default.nix +++ b/homeManagerModules/default.nix @@ -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 diff --git a/homeManagerModules/ghostty.nix b/homeManagerModules/ghostty.nix index c1c470e..29ab993 100644 --- a/homeManagerModules/ghostty.nix +++ b/homeManagerModules/ghostty.nix @@ -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;