gleaming-glacier
envrc
gleaming-glacier | envrc | |
---|---|---|
2 | 18 | |
17 | 332 | |
- | - | |
7.4 | 7.9 | |
8 days ago | 23 days ago | |
Nix | Emacs Lisp | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gleaming-glacier
-
Hyprland Crash Course
My work on AGS, so far, has been mostly focused on adding support for additional features that weren't available before. I implemented the possibility to write your own PolKit agent in AGS and have just recently gotten secure session locking via the ext-session-lock-v1 Wayland protocol working. I still need to clean up the code and send PRs upstream, though.
That said, my config is available on GitHub [0]. If you want to see much more complete setups, you should check out the configurations by Aylur (creator of AGS) [1], kotontrion [2], or end_4 [3]. I'm sure there are lots more that are notable, but these immediately came to mind.
[0] https://github.com/Cu3PO42/gleaming-glacier/tree/next/config...
[1] https://github.com/Aylur/dotfiles
[2] https://github.com/kotontrion/dotfiles
[3] https://github.com/end-4/dots-hyprland
-
Nix Survival Mode: macOS upgrades won't break Nix anymore
I will do tomorrow! In the meantime, in the offchance anyone stumbles across this who has the same problem, my workaround is available here [0]. (Also exported as `darwinModules.chsh` from my Flake)
[0] https://github.com/Cu3PO42/gleaming-glacier/blob/master/modu...
envrc
-
Emacs Advent Calendar 9: devdocs, code-cells, dREPL, etc.
buffer-env: A pure-Elisp version of the direnv utility. Useful to make Emacs aware of Python virtualenvs (which, judging by the questions posted here, is unfortunately still a complication for a lot of people). Similar to (and inspired by) envrc, but doesn't require the direnv program.
-
Nix Survival Mode: macOS upgrades won't break Nix anymore
Yes, most Nix users employ https://direnv.net or the equivalent for your IDE of choice. Emacs for instance has https://github.com/purcell/envrc which set per-buffer variables.
-
Beginner question: how do I set up virtual environments in my Python buffer?
Also take a look at the envrc package. I think it handles multiple projects better.
-
How do YOU use your PKMS?
I further make my software projects so that when I click a link I go into an environment pre-loaded with their dependencies so dropping in/out of projects is always frictionless. I do this with the reproducibility guarantees of nix, along with glue like nix-direnv and envrc-mode to direnv.
-
Minimal approach for python devel environment with flake
In conjunction with installing direnv on your favorite text editor, it's a very hassle free experience. Everything happens automatically. If you use Emacs, i higly recommend envrc.el
-
Nix and envrc
Direnv is installed using the nix-direnv installation instructions under "Via configuration.nix in NixOS". I read some recommendations that envrc.el is a better alternative then direnv.el, and after some testing I have to agree. (envrc-global-mode) is enabled in my config. This works perfectly with a normal emacs instance.
-
Emacs + emacs-direnv + Nix + vterm does not just work
I don't use flake.nix, only shell.nix, though check if the envrc package works any better for you. https://github.com/purcell/envrc
-
Wrapping gcc with libraries
As an alternative to emacs-direnv, I’d recommend the “envrc” package.
-
Eglot appreciation post
btw, my main issue regarding tramp was the fact that I didn't have my environment generated by direnv, via the https://github.com/purcell/envrc package. I use direnv almost exclusively to activate my nix-shell, so I can access the exact software dependencies required by that directory of a project.
-
Is it possible to let overlay Emacs use locally configured Agda libraries inside nix-shell?
I'm not familiar with these tools too but I highly recommend to look at https://github.com/purcell/envrc. If you are not familiar with direnv I suggest to try it with nix-shell/flakes before.
What are some alternatives?
nix-installer-action - The Github Action for the Determinate Nix Installer
emacs-direnv - direnv integration for emacs
nixos-config - Nix configuration for macOS / NixOS with starter templates, step-by-step guides, and more ✨
dotemacs
intellij-direnv - direnv integration for JetBrains IDEs
direnv - unclutter your .profile
hammerspoon.config
lsp-bridge - A blazingly fast LSP client for Emacs
dotfiles - my personal dotfiles, use at your own risk
buffer-env - Buffer-local process environments for Emacs
stack - The Haskell Tool Stack
Elpy - Emacs Python Development Environment