add direnv and devenv

This commit is contained in:
lucy 2026-10-08 11:50:38 +02:00
commit 90aa551312
4 changed files with 113 additions and 1 deletions

View file

@ -1,6 +1,7 @@
{ config, pkgs, ... }: {
programs.niri.enable = true;
programs.steam.enable = true;
programs.direnv.enable = true;
imports = [
./zsh.nix
./nixcord.nix

View file

@ -8,7 +8,10 @@
enable = true;
theme = "gentoo";
};
shellInit = ''export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/rbw/ssh-agent-socket"'';
shellInit = ''
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/rbw/ssh-agent-socket"
eval "$(devenv hook zsh)"
'';
};
system.userActivationScripts.zshrc = "touch .zshrc";
}