mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-03-17 10:00:33 +01:00
Better handling of direnv
This commit is contained in:
parent
6d9f52da76
commit
f508209435
2 changed files with 15 additions and 4 deletions
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -1082,11 +1082,11 @@
|
|||
"zsh-nix-shell": "zsh-nix-shell"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1650732759,
|
||||
"narHash": "sha256-WL2rhiaByhF3AQUlBqD+QcaeSymkqGNqS9PJTsIB6DM=",
|
||||
"lastModified": 1650733953,
|
||||
"narHash": "sha256-3nxAHsPMr7BjmTAtJnw5CU0zGHqg2siwD8med6erZBE=",
|
||||
"owner": "traxys",
|
||||
"repo": "zsh-flake",
|
||||
"rev": "758a3ff2d86a6b6eb2bc956fba798b30275c2a57",
|
||||
"rev": "abf6d2a6befc5a1e50eec3421ed8fce1fd19a801",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
13
home.nix
13
home.nix
|
|
@ -24,7 +24,6 @@ in
|
|||
bintools
|
||||
httpie
|
||||
sqlx-cli
|
||||
direnv
|
||||
codespell
|
||||
ripgrep
|
||||
file
|
||||
|
|
@ -45,6 +44,12 @@ in
|
|||
};
|
||||
|
||||
programs = {
|
||||
direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
enable = true;
|
||||
};
|
||||
|
|
@ -68,6 +73,12 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
programs.zsh = {
|
||||
shellAliases = {
|
||||
new-direnv = "nix flake new -t github:nix-community/nix-direnv";
|
||||
};
|
||||
};
|
||||
|
||||
# This value determines the Home Manager release that your
|
||||
# configuration is compatible with. This helps avoid breakage
|
||||
# when a new Home Manager release introduces backwards
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue