summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2024-12-28 19:23:56 +0100
committerMel <einebeere@gmail.com>2024-12-28 19:24:22 +0100
commitb521463da71a929c6ee4e6abffe35cbfc5086504 (patch)
tree108f7123c2afee6af898178a8b2172d60e2bacc0 /flake.nix
parent2b5057dafbe65a17f1464b6eb1c373ed4b3de4b7 (diff)
downloadminerals-b521463da71a929c6ee4e6abffe35cbfc5086504.tar.zst
minerals-b521463da71a929c6ee4e6abffe35cbfc5086504.zip
Add ghostty through flake (until it's added to nixpkgs)
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix12
1 files changed, 11 insertions, 1 deletions
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 ];
+          }
         ];
       }
     );