envrc VS nixos-config

Compare envrc vs nixos-config and see what are their differences.

envrc

Emacs support for direnv which operates buffer-locally (by purcell)

nixos-config

Nix configuration for macOS / NixOS with starter templates, step-by-step guides, and more ✨ (by dustinlyons)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
envrc nixos-config
18 35
332 1,038
- -
7.9 9.9
21 days ago 4 days ago
Emacs Lisp Nix
- BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

envrc

Posts with mentions or reviews of envrc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-09.
  • Emacs Advent Calendar 9: devdocs, code-cells, dREPL, etc.
    17 projects | /r/emacs | 9 Dec 2023
    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
    12 projects | news.ycombinator.com | 25 Oct 2023
    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?
    3 projects | /r/emacs | 22 Apr 2023
    Also take a look at the envrc package. I think it handles multiple projects better.
  • How do YOU use your PKMS?
    5 projects | /r/PKMS | 21 Apr 2023
    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
    4 projects | /r/NixOS | 4 Feb 2023
    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
    3 projects | /r/emacs | 3 Feb 2023
    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
    1 project | /r/emacs | 27 Dec 2022
    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
    2 projects | /r/NixOS | 4 Dec 2022
    As an alternative to emacs-direnv, I’d recommend the “envrc” package.
  • Eglot appreciation post
    3 projects | /r/emacs | 8 Jun 2022
    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?
    1 project | /r/NixOS | 19 May 2022
    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.

nixos-config

Posts with mentions or reviews of nixos-config. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-15.
  • Going declarative on macOS with Nix and Nix-Darwin
    7 projects | news.ycombinator.com | 15 Jan 2024
    I’ve been using Nix directly on MacOS with minimal issues for a few years now. Works great.

    I hate using docker on Mac and have since replaced it with flakes and devenv.

    My configuration with a step by step guide (600+ stars): https://github.com/dustinlyons/nixos-config

  • Flakes aren't real and cannot hurt you: using Nix flakes the non-flake way
    6 projects | news.ycombinator.com | 9 Jan 2024
    I tried to make Nix as easy to adopt as possible by creating Nix commands and a step by step guide: https://github.com/dustinlyons/nixos-config

    I love Nix. I use it every day to manage multiple local dev environments. And I use devenv instead of docker for sharing project-specific environments with others.

  • 2024-01-01 Emacs News
    3 projects | news.ycombinator.com | 5 Jan 2024
    Felt (still am, actually) this problem too. Started with the same approach (Vanilla Emacs) a few years back in order to really learn the ins-and-outs after giving DOOM and others a shot and feeling like I didn't have the faintest what was really going on with all the magic. I somehow did end up falling in love with Emacs again[^1].

    Won't lie... there was a fair amount of cursing involved and, despite the love, I wouldn't recommend many to venture down this road[^2].

    Now I have gone the literate config way in my dotfiles https://github.com/vidbina/dotfiles/tree/main/emacs and I jump between Cursor (vscode-based), Neovim and Emacs for different tasks on a daily. I also found dustinlyons/nixos-config (https://github.com/dustinlyons/nixos-config/blob/main/module...) just a few days ago and figured that could be a fun resource when you're building yours up.

    Take it as a hobby. There are a bunch of nice things that I picked up from Emacs (a. literate configs, b. comfort around working with LISPs, c. bigger appreciation for parts of the GNU ecosystem, d. more in-depth understanding of how my editor works which helps me debug issues in Neovim or vscode when I see them) but I still think that I'm cursed by wanting to go down this road so badly. Wish I could just vscode my way through live and build dope stuff, unencumbered.

    1: Used Emacs heavily in college over 12 years ago when I would boot the Windows + Novell groupware school computers into my own Ubuntu config with my Emacs and embedded dev toolchain from my pendrive.

    2: The single-threaded-ness and related ocassional unresponsiveness/hangups still grind my gears.

  • Adding a Mac to my flake
    2 projects | /r/NixOS | 8 Dec 2023
    Here is my flake using home manager on Mac: https://github.com/dustinlyons/nixos-config
  • Show HN: You can try my unified Nix environment for macOS/NixOS
    1 project | news.ycombinator.com | 13 Nov 2023
    1 project | news.ycombinator.com | 13 Nov 2023
  • Nix Survival Mode: macOS upgrades won't break Nix anymore
    12 projects | news.ycombinator.com | 25 Oct 2023
    What do I need to do to switch from an official Nix install to using nix-installer on macOS? Just uninstall the current nix and install using nix-installer?

    My config is loosely based off https://github.com/dustinlyons/nixos-config if this matters. Using nix-darwin.

  • Nix configuration for MacOS and NixOS w/ starter templates + step-by-step guides
    1 project | /r/developers | 19 Oct 2023
  • Thinking about buying a macbook, does Emacs work well?
    6 projects | /r/emacs | 8 Jul 2023
    My configuration uses Nix.
  • Ask HN: Could you show your personal blog here?
    55 projects | news.ycombinator.com | 4 Jul 2023
    Not my personal notes, but how I do my writing and organize my thoughts. This is my Nix configuration that powers my Macbook, Linux PC, and home lab server. Emacs + org-roam to capture everything. https://github.com/dustinlyons/nixos-config

What are some alternatives?

When comparing envrc and nixos-config you can also consider the following projects:

emacs-direnv - direnv integration for emacs

guix-config - Literate configuration for Guix Linux ⛰️

dotemacs

nvd

direnv - unclutter your .profile

plasma-manager - Manage KDE Plasma with Home Manager

lsp-bridge - A blazingly fast LSP client for Emacs

disko - Declarative disk partitioning and formatting using nix [maintainer=@Lassulus]

buffer-env - Buffer-local process environments for Emacs

nixos-x260 - Contains the configuration of every home computers

stack - The Haskell Tool Stack

homebridge - HomeKit support for the impatient.