Added direnv and nix-index

This commit is contained in:
Jurn Wubben 2025-03-09 16:04:27 +01:00
parent 4b42a5ca94
commit f33c9c99e0
6 changed files with 17 additions and 0 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
use flake

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.direnv

View file

@ -1,5 +1,6 @@
{ {
imports = [ imports = [
./direnv.nix
./fish.nix ./fish.nix
./other.nix ./other.nix
./repl ./repl

6
home/shell/direnv.nix Normal file
View file

@ -0,0 +1,6 @@
{
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
}

View file

@ -9,6 +9,7 @@
./nh.nix ./nh.nix
./nixpkgs.nix ./nixpkgs.nix
./substituters.nix ./substituters.nix
./nix-index.nix
]; ];
# we need git for flakes # we need git for flakes

7
system/nix/nix-index.nix Normal file
View file

@ -0,0 +1,7 @@
{
programs.command-not-found.enable = false;
programs.nix-index = {
enable = true;
enableFishIntegration = true;
};
}