summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.lock100
-rw-r--r--flake.nix12
2 files changed, 111 insertions, 1 deletions
diff --git a/flake.lock b/flake.lock
index 685b07f..2be6ccc 100644
--- a/flake.lock
+++ b/flake.lock
@@ -62,6 +62,65 @@
"type": "github"
}
},
+ "flake-compat_2": {
+ "flake": false,
+ "locked": {
+ "lastModified": 1696426674,
+ "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
+ "owner": "edolstra",
+ "repo": "flake-compat",
+ "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
+ "type": "github"
+ },
+ "original": {
+ "owner": "edolstra",
+ "repo": "flake-compat",
+ "type": "github"
+ }
+ },
+ "flake-utils": {
+ "inputs": {
+ "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"
+ }
+ },
+ "ghostty": {
+ "inputs": {
+ "flake-compat": "flake-compat_2",
+ "nixpkgs-stable": [
+ "nixpkgs"
+ ],
+ "nixpkgs-unstable": [
+ "nixpkgs-unstable"
+ ],
+ "zig": "zig"
+ },
+ "locked": {
+ "lastModified": 1735330177,
+ "narHash": "sha256-JGoqNnhSr632eLo1NWKJWoZyepCZlXT0o1/2A6e1Ph4=",
+ "owner": "ghostty-org",
+ "repo": "ghostty",
+ "rev": "8111f5b9958c21e0157f63cc4ce2dfc2329c67ac",
+ "type": "github"
+ },
+ "original": {
+ "owner": "ghostty-org",
+ "repo": "ghostty",
+ "type": "github"
+ }
+ },
"home-manager": {
"inputs": {
"nixpkgs": [
@@ -119,6 +178,7 @@
"inputs": {
"agenix": "agenix",
"flake-compat": "flake-compat",
+ "ghostty": "ghostty",
"home-manager": "home-manager",
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable"
@@ -138,6 +198,46 @@
"repo": "default",
"type": "github"
}
+ },
+ "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"
+ }
+ },
+ "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 ff0f11f..3464037 100644
--- a/flake.nix
+++ b/flake.nix
@@ -15,10 +15,16 @@
inputs.home-manager.follows = "home-manager";
};
+ ghostty = {
+ url = "github:ghostty-org/ghostty";
+ inputs.nixpkgs-stable.follows = "nixpkgs";
+ inputs.nixpkgs-unstable.follows = "nixpkgs-unstable";
+ };
+
flake-compat.url = "github:edolstra/flake-compat";
};
- outputs = inputs @ { self, nixpkgs, nixpkgs-unstable, agenix, home-manager, ... }:
+ outputs = inputs @ { self, nixpkgs, nixpkgs-unstable, agenix, ghostty, home-manager, ... }:
let
system = "x86_64-linux";
@@ -58,6 +64,10 @@
}
agenix.nixosModules.default
+
+ {
+ environment.systemPackages = [ ghostty.packages.${system}.ghostty ];
+ }
];
}
);