Skip to content

Commit

Permalink
Add ghostty
Browse files Browse the repository at this point in the history
  • Loading branch information
b3nj5m1n committed Dec 28, 2024
1 parent fc1c5db commit 407cc29
Show file tree
Hide file tree
Showing 5 changed files with 146 additions and 6 deletions.
140 changes: 134 additions & 6 deletions flake.lock

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

7 changes: 7 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
url = "github:lilyinstarlight/nixos-cosmic";
inputs.nixpkgs.follows = "nixpkgs";
};

ghostty = {
url = "github:ghostty-org/ghostty";
};
};

outputs = {
Expand All @@ -48,6 +52,7 @@
dwarffs,
pfui,
nixos-cosmic,
ghostty,
...
} @ inputs: let
inherit (self) outputs;
Expand All @@ -69,6 +74,7 @@
inherit system;
inherit fenix;
inherit pfui;
inherit ghostty;
}
);

Expand Down Expand Up @@ -99,6 +105,7 @@
inherit inputs;
inherit fenix;
inherit pfui;
inherit ghostty;
# inherit hyprland;
};
# Reusable nixos modules you might want to export
Expand Down
1 change: 1 addition & 0 deletions nix/nixos/emperor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@

environment.systemPackages = with pkgs; [
pfui
ghostty
eisvogel
bemoji
wofi-calc
Expand Down
2 changes: 2 additions & 0 deletions nix/overlays/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
inputs,
fenix,
pfui,
ghostty,
# hyprland,
}: {
# This one brings our custom packages from the 'pkgs' directory
Expand All @@ -12,6 +13,7 @@
system = prev.system;
inherit fenix;
inherit pfui;
inherit ghostty;
};

# This one contains whatever you want to overlay
Expand Down
2 changes: 2 additions & 0 deletions nix/pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
system,
fenix,
pfui,
ghostty,
}: {
# fenix = import fenix {inherit system;};
rust-toolchain = fenix.packages.${system}.stable.toolchain;
rust-analyzer-nightly = fenix.packages.${system}.stable.rust-analyzer;
pfui = pfui.defaultPackage.${system};
ghostty = ghostty.packages.${system}.default;
eisvogel = pkgs.callPackage ./eisvogel {};
# logseq-wrapped = pkgs.callPackage ./logseq-wrapped {};
# logseq-wrapped = if system == "x86_64-linux" then pkgs.callPackage ./logseq-wrapped {} else null;
Expand Down

0 comments on commit 407cc29

Please sign in to comment.