This guide shows how to add the Warp Terminal package to your NixOS configuration using an overlay.
You can apply this either in your system-wide configuration.nix or in your per-user Home Manager configuration.
chmod +X warp-latest.sh
Run - warp-latest.sh
./warp-latest.shThis will take about a minute if your internet fast - downloading warp-terminal for updating HASHES in versions.json for completing the build and update locally.
Add the following snippet to your configuration:
nixpkgs.overlays = [
(self: super: {
warp-terminal = super.callPackage ./warp/package.nix { };
})
];-
System-wide (configuration.nix):
Place it inside thenixpkgssection of your/etc/nixos/configuration.nix.
This will makewarp-terminalavailable to all users on the system. -
User profile (Home Manager):
Place it inside yourhome.nix(orhome-managerconfig).
This makes the package available only for your user.
After defining the overlay, you need to add warp-terminal to your package list:
-
In configuration.nix:
environment.systemPackages = with pkgs; [ warp-terminal ];
-
In Home Manager (
home.nix):home.packages = with pkgs; [ warp-terminal ];
After updating your configuration, rebuild:
- System-wide:
sudo nixos-rebuild switch
- Home Manager only:
home-manager switch
- Add the overlay snippet to either
configuration.nixorhome-managerconfig. - Add
warp-terminalto the appropriate package list. - Rebuild your system or Home Manager config.
Now warp-terminal will be available for you to run! 🚀