summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.lock111
-rw-r--r--flake.nix2
-rw-r--r--hosts/laptop-nixos/configuration.nix1
3 files changed, 114 insertions, 0 deletions
diff --git a/flake.lock b/flake.lock
index 47ba81f..31117f6 100644
--- a/flake.lock
+++ b/flake.lock
@@ -1,5 +1,43 @@
{
"nodes": {
+ "flake-utils": {
+ "inputs": {
+ "systems": "systems"
+ },
+ "locked": {
+ "lastModified": 1705309234,
+ "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=",
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "type": "github"
+ }
+ },
+ "ghostty": {
+ "inputs": {
+ "nixpkgs-stable": "nixpkgs-stable",
+ "nixpkgs-unstable": "nixpkgs-unstable",
+ "zig": "zig"
+ },
+ "locked": {
+ "lastModified": 1733436494,
+ "narHash": "sha256-/h5pK2ysUhBNyqsD6w0ii3W4zhuAOQNIpd99Vac5nBY=",
+ "ref": "refs/heads/main",
+ "rev": "2fb92dd4aa75214c3bc58220fa7638b698dcace3",
+ "revCount": 8178,
+ "type": "git",
+ "url": "ssh://git@github.com/ghostty-org/ghostty"
+ },
+ "original": {
+ "type": "git",
+ "url": "ssh://git@github.com/ghostty-org/ghostty"
+ }
+ },
"home-manager": {
"inputs": {
"nixpkgs": [
@@ -36,11 +74,84 @@
"type": "github"
}
},
+ "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-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"
+ }
+ },
"root": {
"inputs": {
+ "ghostty": "ghostty",
"home-manager": "home-manager",
"nixpkgs": "nixpkgs"
}
+ },
+ "systems": {
+ "locked": {
+ "lastModified": 1681028828,
+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+ "owner": "nix-systems",
+ "repo": "default",
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-systems",
+ "repo": "default",
+ "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 ed24def..38d1472 100644
--- a/flake.nix
+++ b/flake.nix
@@ -8,6 +8,8 @@
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
+
+ ghostty.url = "git+ssh://git@github.com/ghostty-org/ghostty";
};
outputs = { self, nixpkgs, ... }@inputs:
diff --git a/hosts/laptop-nixos/configuration.nix b/hosts/laptop-nixos/configuration.nix
index 4e11109..d214678 100644
--- a/hosts/laptop-nixos/configuration.nix
+++ b/hosts/laptop-nixos/configuration.nix
@@ -94,6 +94,7 @@
# List packages installed in system profile. Use for apps that need sudo.
environment.systemPackages = with pkgs; [
+ inputs.ghostty.packages.x86_64-linux.default
glib-networking
openssl
clang