feat(nix): add direnv support
This commit is contained in:
parent
ec52de2dc6
commit
6ec283a1a7
2 changed files with 10 additions and 1 deletions
|
@ -152,3 +152,6 @@ if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export QSYS_ROOTDIR="/home/flyingstitchman/.cache/paru/clone/quartus-free/pkg/quartus-free-quartus/opt/intelFPGA/21.1/quartus/sopc_builder/bin"
|
export QSYS_ROOTDIR="/home/flyingstitchman/.cache/paru/clone/quartus-free/pkg/quartus-free-quartus/opt/intelFPGA/21.1/quartus/sopc_builder/bin"
|
||||||
|
|
||||||
|
# Nix Direnv Support
|
||||||
|
eval "$(direnv hook zsh)"
|
||||||
|
|
|
@ -22,7 +22,13 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.appimage.binfmt = true;
|
programs = {
|
||||||
|
appimage.binfmt = true;
|
||||||
|
direnv = {
|
||||||
|
enable = true;
|
||||||
|
nix-direnv.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
security.sudo.wheelNeedsPassword = false;
|
security.sudo.wheelNeedsPassword = false;
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
services = {
|
services = {
|
||||||
|
|
Loading…
Reference in a new issue