home: add direnv

This commit is contained in:
Guanran Wang 2024-08-31 04:01:51 +08:00
parent def36f2ab3
commit 749d45df3c
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
5 changed files with 10 additions and 2 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
use flake

2
.gitignore vendored
View file

@ -2,3 +2,5 @@ result
result-*
.DS_Store
/.direnv

View file

@ -103,7 +103,7 @@
legacyPackages = import ./pkgs pkgs;
### nix develop
devShells.default = pkgs.mkShell {
devShells.default = pkgs.mkShellNoCC {
packages = with pkgs; [
colmena
sops

View file

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

View file

@ -1,7 +1,6 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
colmena
deadnix
nh
nil