1

I would like to install elementary-terminal. This package is not in nixpkgs/pkgs/top-level/all-packages.nix and I suppose it is therefore not sufficient to just add elementary-terminal into configuration.nix

What is the recommended way to install such packages?

Manuel Schmidt
  • 2,429
  • 1
  • 19
  • 32

1 Answers1

1

Some packages are namespaced to group them together or avoid potential conflicting names, in this case it's under pantheon.

{ config, lib, pkgs, ... }:
{
  environment.systemPackages =
    [ pkgs.pantheon.elementary-terminal
    ];
}

To figure this out use, nix-env -q, nix search or even nix-index to show the corresponding attribute path of a package.

$ nix-env -f '<nixpkgs>' -qaP elementary-terminal
pantheon.elementary-terminal  elementary-terminal-5.3.3
LnL7
  • 388
  • 2
  • 4