Added direnv and nix-index
This commit is contained in:
parent
ac045b8c30
commit
8b8b862d63
6 changed files with 17 additions and 0 deletions
1
.envrc
Normal file
1
.envrc
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
use flake
|
||||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
.direnv
|
||||||
|
|
@ -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
6
home/shell/direnv.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
programs.direnv = {
|
||||||
|
enable = true;
|
||||||
|
nix-direnv.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -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
7
system/nix/nix-index.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
programs.command-not-found.enable = false;
|
||||||
|
programs.nix-index = {
|
||||||
|
enable = true;
|
||||||
|
enableFishIntegration = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue