Nix-index: install using NixOS module
This commit is contained in:
parent
ed1d2f3830
commit
7d80cffd7f
1 changed files with 10 additions and 3 deletions
|
|
@ -1,8 +1,15 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
environment.systemPackages = [ pkgs.nix-index ];
|
/* environment.systemPackages = [ pkgs.nix-index ];
|
||||||
programs.bash.interactiveShellInit = ''
|
programs.bash.interactiveShellInit = ''
|
||||||
source ${pkgs.nix-index}/etc/profile.d/command-not-found.sh
|
source ${pkgs.nix-index}/etc/profile.d/command-not-found.sh
|
||||||
'';
|
''; */
|
||||||
|
programs.nix-index = {
|
||||||
|
enable = true;
|
||||||
|
enableBashIntegration = true;
|
||||||
|
# I don't use zsh or fish (yet)
|
||||||
|
enableZshIntegration = false;
|
||||||
|
enableFishIntegration = false;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue