diff --git a/configuration.nix b/configuration.nix
index 4fbc37d..fb3459b 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -4,6 +4,7 @@
 
 {
   pkgs,
+  outputs,
   ...
 }:
 
@@ -22,6 +23,8 @@
     ./sddm.nix
   ];
 
+  nixpkgs.overlays = [ outputs.overlays.unstable-packages ];
+
   # Bootloader.
   boot.loader.systemd-boot.enable = true;
   boot.loader.efi.canTouchEfiVariables = true;
@@ -60,6 +63,7 @@
     gnupg
     wget
     kitty
+    unstable.ghostty
     xdg-utils
     xdg-desktop-portal-gtk
     kdePackages.qtwayland
diff --git a/flake.nix b/flake.nix
index c973911..55bbb02 100644
--- a/flake.nix
+++ b/flake.nix
@@ -16,6 +16,7 @@
 
   outputs =
     inputs@{
+      self, # Get a ref to outputs
       nixpkgs,
       home-manager,
       stylix,
@@ -23,12 +24,15 @@
     }:
     let
       system = "x86_64-linux";
+      inherit (self) outputs;
     in
     {
       # Adds the nix fmt command to format nix files
       formatter."${system}" = nixpkgs.legacyPackages."${system}".nixfmt-rfc-style;
+
       nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
         system = system;
+        specialArgs = { inherit outputs; }; # Pass args to modules
         modules = [
           ./configuration.nix
           home-manager.nixosModules.home-manager
@@ -46,5 +50,14 @@
           stylix.nixosModules.stylix
         ];
       };
+
+      overlays = {
+        unstable-packages = final: _prev: {
+          unstable = import inputs.nixpkgs {
+            system = final.system;
+            config.allowUnfree = true;
+          };
+        };
+      };
     };
 }