Effect CommunityEC
Effect Community2y ago
36 replies
whatplan

how to get nix packages in path

brand new to nix
configuration.nix:
{ config, pkgs, ... }:

{
  imports = [ <nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix> ];

  environment.systemPackages = with pkgs; [
    tmux
  ]
}


[nixos@nixos:~]$ sudo nixos-rebuild switch
building Nix...
building the system configuration...
[nixos@nixos:~]$ tmux
-bash: tmux: command not found


why
Was this page helpful?