Love how nix #direnv warns me when i am messing up my repo out of laziness to rtfm
Love how nix #direnv warns me when i am messing up my repo out of laziness to rtfm
Released version 1.2.0 of #SeekretService, a simple service written in #Rust for securely accessing #KeePass databases, e. g. from the #cli like #envrc or #direnv.
Get it on GitHub: https://github.com/michix/seekret-service
*Changes:*
- KeePath file is automatically reloaded on change.
It is available for #Linux, #Windows and #MacOS.
I am happy about feedback!
Released version 1.1.0 of #SeekretService, a simple service written in #Rust for securely accessing #KeePass databases, e. g. from the #cli like #envrc or #direnv.
Get it on GitHub: https://github.com/michix/seekret-service
It is now available for #Linux, #Windows and #MacOS.
I am happy about feedback!
Can someone help be find the documentation for direnv layout?
I swear, I can only find examples of layouts, but nothing explaining what is a layout exactly, what is possible and how to create new ones...
@ltratt is there a layman explanation to how the user input strings to various package/tool chain managers , language servers re parsed by bash from their envs , pyenv, rustup, eval opam env etc and then ends up giving the expected behavior outputs
esp the role of #direnv in all this
https://tratt.net/laurie/blog/2011/parsing_the_solved_problem_that_isnt.html
Das ich in #Java dieses Jahr noch nen #ProtocolMapper für #Keycloak zusammenzimmer hatte ich nicht aufm Zettel. Dank #nix und #direnv war das dev-setup äußerst entspannt.
Wow! How have I lived without #direnv by now? It's loading and unloading virtual environment when I enter and leave project dir in terminal. https://direnv.net It works seamlessly in #Emacs and integrates with eglot through envrc.el
« Je pense pouvoir maintenant remplacer Direnv par Mise »
Just looked into #nixshell and #direnv to setup a clean environment to compile greptimedb: https://github.com/GreptimeTeam/greptimedb/pull/5175
clang, gcc, mold and patched #rust are required.
Managed to change my #nixos configuration, home manager setup, and most of my #direnv setups to using #nix flakes all following the same nixpkgs version.
As usual jekyll proved to be the most challenging, but now it is installed with plain nix packages.
Next step is to do some prompt hacking. And by prompt hacking I mean fiddling with PS1 to include current devshell.
I made a quick crash course for using #direnv on #linux , demo in #docker container -- https://youtu.be/4Too6G4Gyg0
Released Version 1.0.0 of #SeekretService, a simple service written in #Rust for safely accessing #KeePass databases, e. g. from the #cli like #envrc or #direnv.
Get it on GitHub: https://github.com/michix/seekret-service
It is available for #Linux and #MacOS. It would be easy to add support for #Windows, but I currently don't know how to show a password dialog with just operating system means.
I am happy about feedback!
Now that RustRover is free for OSS, has anyone got it working *nicely* with Nix Direnv?
Seeing some of the chatter about Starship lately, and piggybacking off of @treyhunner 's recent foray, I decided to update my coding environment as well.
I hardly understood anything when I got started, but I'm pretty happy with the results. Thanks @webology as well as @kattni for pressuring Trey
A small hint for all the #Elixir users out there.
I don't know about you, but I always cringed at how dirty mix is when it comes to installing third party toolchain dependencies.
Twelve years into using it, I learned that you can actually localise third-party installations!
Here's a snippet from my #direnv.
```sh
mkdir -p .nix-mix .nix-hex
export MIX_HOME=$PWD/.nix-mix
export HEX_HOME=$PWD/.nix-mix
[ -z "$(ls -A .nix-mix)" ] && mix local.hex
[ -z "$(ls -A .nix-mix)" ] && mix local.rebar
```
This can make your #Nix builds pure without faking HOME!
I started migrating from virtualenvwrapper to direnv this week.
I also adopted uv for venv management and Starship for my zsh prompt.
Thanks to @webology for the nudge that resulted in this post being published today, thanks to @kattni for sharing a very plain Starship config file, and thanks to everyone who participated in the thread earlier this week.
https://treyhunner.com/2024/10/switching-from-virtualenvwrapper-to-direnv-starship-and-uv/
I've done some thinking about how to make #uv and #direnv play together with minimal hassle and maximum repeatability. Inspired by @hynek's posting about uv's speed and usability, here's that post: https://offby1.website/posts/uv-direnv-and-simple-envrc-files.html
Let me know if it helps you, or if you've got better ideas!