attempting ghostty wrapper
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user