got ghostty working on work home manager
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
|
||||||
|
let
|
||||||
|
nixgl = import (fetchTarball "https://github.com/nix-community/nixGL/archive/main.tar.gz") {};
|
||||||
|
in {
|
||||||
home.username = "alexm";
|
home.username = "alexm";
|
||||||
home.homeDirectory = "/home/alexm";
|
home.homeDirectory = "/home/alexm";
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
@@ -29,12 +32,16 @@
|
|||||||
makemkv
|
makemkv
|
||||||
elixir_1_18
|
elixir_1_18
|
||||||
inotify-tools
|
inotify-tools
|
||||||
# (builtins.getFlake "github:ghostty-org/ghostty").packages.${pkgs.system}.default
|
|
||||||
# ghostty
|
|
||||||
# gnome-themes-extra
|
# gnome-themes-extra
|
||||||
uv
|
uv
|
||||||
ghostty
|
ghostty
|
||||||
|
nixgl.nixGLIntel
|
||||||
|
(config.lib.nixGL.wrap ghostty)
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.ghostty = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
shellInit = ''
|
shellInit = ''
|
||||||
@@ -157,7 +164,7 @@ TryExec=/home/alexm/.local/share/flatpak/exports/bin/com.brave.Browser'';
|
|||||||
|
|
||||||
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = {
|
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = {
|
||||||
name = "Launch Ghostty";
|
name = "Launch Ghostty";
|
||||||
command = "ghostty";
|
command = "nixGL ghostty";
|
||||||
binding = "<Super>t";
|
binding = "<Super>t";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user