From f928475a82bdd7d1632102d67a7523d55908df4d Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Thu, 26 Dec 2024 18:45:51 -0500 Subject: [PATCH] ghostty --- flake.lock | 145 ++++++++++++++++++++++++++++++---- flake.nix | 1 + modules/home/all/terminal.nix | 2 + overlays/default.nix | 1 + 4 files changed, 132 insertions(+), 17 deletions(-) diff --git a/flake.lock b/flake.lock index ff2918a6..957ac46c 100644 --- a/flake.lock +++ b/flake.lock @@ -346,7 +346,25 @@ }, "flake-utils": { "inputs": { - "systems": "systems_4" + "systems": "systems_2" + }, + "locked": { + "lastModified": 1705309234, + "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_2": { + "inputs": { + "systems": "systems_5" }, "locked": { "lastModified": 1681202837, @@ -362,9 +380,9 @@ "type": "github" } }, - "flake-utils_2": { + "flake-utils_3": { "inputs": { - "systems": "systems_5" + "systems": "systems_6" }, "locked": { "lastModified": 1731533236, @@ -380,9 +398,9 @@ "type": "github" } }, - "flake-utils_3": { + "flake-utils_4": { "inputs": { - "systems": "systems_6" + "systems": "systems_7" }, "locked": { "lastModified": 1681202837, @@ -413,6 +431,26 @@ "type": "github" } }, + "ghostty": { + "inputs": { + "nixpkgs-stable": "nixpkgs-stable", + "nixpkgs-unstable": "nixpkgs-unstable", + "zig": "zig" + }, + "locked": { + "lastModified": 1735243222, + "narHash": "sha256-AHI1Z4mfgXkNwQA8xYq4tS0/BARbHL7gQUT41vCxQTM=", + "owner": "ghostty-org", + "repo": "ghostty", + "rev": "4b4d4062dfed7b37424c7210d1230242c709e990", + "type": "github" + }, + "original": { + "owner": "ghostty-org", + "repo": "ghostty", + "type": "github" + } + }, "git-hooks": { "flake": false, "locked": { @@ -650,7 +688,7 @@ "hyprwayland-scanner": "hyprwayland-scanner", "nixpkgs": "nixpkgs_3", "pre-commit-hooks": "pre-commit-hooks", - "systems": "systems_2", + "systems": "systems_3", "xdph": "xdph" }, "locked": { @@ -865,7 +903,7 @@ "nixpkgs": [ "nixpkgs" ], - "systems": "systems_3" + "systems": "systems_4" }, "locked": { "lastModified": 1730717277, @@ -1008,7 +1046,7 @@ }, "nixos-vscode-server": { "inputs": { - "flake-utils": "flake-utils", + "flake-utils": "flake-utils_2", "nixpkgs": "nixpkgs_4" }, "locked": { @@ -1054,6 +1092,22 @@ } }, "nixpkgs-stable": { + "locked": { + "lastModified": 1733423277, + "narHash": "sha256-TxabjxEgkNbCGFRHgM/b9yZWlBj60gUOUnRT/wbVQR8=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "e36963a147267afc055f7cf65225958633e536bf", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "release-24.11", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-stable_2": { "locked": { "lastModified": 1730741070, "narHash": "sha256-edm8WG19kWozJ/GqyYx2VjW99EdhjKwbY3ZwdlPAAlo=", @@ -1069,6 +1123,22 @@ "type": "github" } }, + "nixpkgs-unstable": { + "locked": { + "lastModified": 1733229606, + "narHash": "sha256-FLYY5M0rpa5C2QAE3CKLYAM6TwbKicdRK6qNrSHlNrE=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "566e53c2ad750c84f6d31f9ccb9d00f823165550", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs_2": { "locked": { "lastModified": 1703013332, @@ -1210,7 +1280,7 @@ }, "nuschtosSearch": { "inputs": { - "flake-utils": "flake-utils_2", + "flake-utils": "flake-utils_3", "ixx": "ixx", "nixpkgs": [ "nixvim", @@ -1243,7 +1313,7 @@ "nix-systems-x86_64-linux": "nix-systems-x86_64-linux", "nixpkgs": "nixpkgs_7", "rust-flake": "rust-flake", - "systems": "systems_7", + "systems": "systems_8", "treefmt-nix": "treefmt-nix_3" }, "locked": { @@ -1268,7 +1338,7 @@ "hyprland", "nixpkgs" ], - "nixpkgs-stable": "nixpkgs-stable" + "nixpkgs-stable": "nixpkgs-stable_2" }, "locked": { "lastModified": 1732021966, @@ -1290,6 +1360,7 @@ "agenix": "agenix", "disko": "disko", "flake-parts": "flake-parts_2", + "ghostty": "ghostty", "git-hooks": "git-hooks", "github-nix-ci": "github-nix-ci", "home-manager": "home-manager_2", @@ -1331,7 +1402,7 @@ }, "rust-overlay": { "inputs": { - "flake-utils": "flake-utils_3", + "flake-utils": "flake-utils_4", "nixpkgs": [ "nuenv", "nixpkgs" @@ -1383,6 +1454,21 @@ } }, "systems_2": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_3": { "locked": { "lastModified": 1689347949, "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", @@ -1397,7 +1483,7 @@ "type": "github" } }, - "systems_3": { + "systems_4": { "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", @@ -1412,7 +1498,7 @@ "type": "github" } }, - "systems_4": { + "systems_5": { "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", @@ -1427,7 +1513,7 @@ "type": "github" } }, - "systems_5": { + "systems_6": { "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", @@ -1442,7 +1528,7 @@ "type": "github" } }, - "systems_6": { + "systems_7": { "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", @@ -1457,7 +1543,7 @@ "type": "github" } }, - "systems_7": { + "systems_8": { "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", @@ -1575,6 +1661,31 @@ "repo": "xdg-desktop-portal-hyprland", "type": "github" } + }, + "zig": { + "inputs": { + "flake-compat": [ + "ghostty" + ], + "flake-utils": "flake-utils", + "nixpkgs": [ + "ghostty", + "nixpkgs-stable" + ] + }, + "locked": { + "lastModified": 1717848532, + "narHash": "sha256-d+xIUvSTreHl8pAmU1fnmkfDTGQYCn2Rb/zOwByxS2M=", + "owner": "mitchellh", + "repo": "zig-overlay", + "rev": "02fc5cc555fc14fda40c42d7c3250efa43812b43", + "type": "github" + }, + "original": { + "owner": "mitchellh", + "repo": "zig-overlay", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 3f92e8f2..68eba380 100644 --- a/flake.nix +++ b/flake.nix @@ -25,6 +25,7 @@ actualism-app.url = "github:srid/actualism-app"; omnix.url = "github:juspay/omnix"; hyprland.url = "github:hyprwm/Hyprland/v0.45.2"; + ghostty.url = "github:ghostty-org/ghostty"; # Neovim nixvim.url = "github:nix-community/nixvim"; diff --git a/modules/home/all/terminal.nix b/modules/home/all/terminal.nix index fe7b683b..e28d5c4d 100644 --- a/modules/home/all/terminal.nix +++ b/modules/home/all/terminal.nix @@ -47,6 +47,8 @@ in hledger-web gnupg + + ghostty ]; fonts.fontconfig.enable = true; diff --git a/overlays/default.nix b/overlays/default.nix index a1e3f443..4736a7aa 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -15,4 +15,5 @@ self: super: { actualism-app = inputs.actualism-app.packages.${self.system}.default; omnix = inputs.omnix.packages.${self.system}.default; git-merge-and-delete = self.callPackage "${packages}/git-merge-and-delete.nix" { }; + ghostty = inputs.ghostty.packages.${self.system}.default; }