feat: add nix-direnv

Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
Lander Van den Bulcke 2025-01-29 14:35:05 +01:00
parent 5f59d5f972
commit e58e79888a
Signed by: lander
GPG key ID: 0142722B4B0C536F
2 changed files with 25 additions and 4 deletions

View file

@ -2,12 +2,15 @@
inputs,
pkgs,
...
}: let
theme = import ../../../lib/theme {inherit pkgs;};
in {
}:
let
theme = import ../../../lib/theme { inherit pkgs; };
in
{
imports = [
inputs.catppuccin.homeManagerModules.catppuccin
./direnv.nix
./neomutt.nix
./secrets.nix
./sops.nix
@ -34,7 +37,12 @@ in {
home.packages = with pkgs; [
sops
inputs.nixvim.packages.x86_64-linux.default
(pass.withExtensions (exts: [exts.pass-update exts.pass-import exts.pass-audit exts.pass-checkup]))
(pass.withExtensions (exts: [
exts.pass-update
exts.pass-import
exts.pass-audit
exts.pass-checkup
]))
passff-host
];

View file

@ -0,0 +1,13 @@
{ ... }:
{
programs = {
direnv = {
enable = true;
enableZshIntegration = true;
nix-direnv.enable = true;
};
zsh.enable = true;
};
}