Skip to content

Commit

Permalink
ghostty: use hm module
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Dec 27, 2024
1 parent 62a64f5 commit cdeff50
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 7 deletions.
84 changes: 80 additions & 4 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
actualism-app.url = "github:srid/actualism-app";
omnix.url = "github:juspay/omnix";
hyprland.url = "github:hyprwm/Hyprland/v0.45.2";
hyprland.url = "github:hyprwm/Hyprland/v0.46.2";
ghostty.url = "github:ghostty-org/ghostty";
ghostty-hm.url = "github:clo4/ghostty-hm-module";

# Neovim
nixvim.url = "github:nix-community/nixvim";
Expand Down
14 changes: 12 additions & 2 deletions modules/home/all/ghostty.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
{ pkgs, ... }:
{ flake, pkgs, ... }:
{
home.packages = [ pkgs.ghostty ];
imports = [
flake.inputs.ghostty-hm.homeModules.default
];
programs.ghostty = {
enable = true;
package = pkgs.ghostty;
settings = {
gtk-titlebar = false; # better on tiling wm
font-size = 10;
};
};
}

0 comments on commit cdeff50

Please sign in to comment.