nix-config
devshell
Our great sponsors
nix-config | devshell | |
---|---|---|
5 | 14 | |
730 | 1,088 | |
- | 5.8% | |
8.8 | 8.0 | |
5 days ago | 4 days ago | |
Nix | Nix | |
Apache License 2.0 | MIT License |
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.
nix-config
-
Best way to setup Nvim on NixOS?
Power user, gvolpe has a great config that heavily customizes nvim.
-
Adding a Flake to my Config
I forked and customized a fairly advanced Nixos configuration that I can load from a flake on github. (Mine | Original)
-
Host-specific settings (different approaches)
I think gvolpe's nix-config repo is what u/ppen9u1n was referencing. Looks like there might be some good ideas to mine there.
-
Trying to port all official Cardano software to an open architecture and a more elegant Linux distro than Debian (NixOS on Risc-V) and this is the pushback I get.
I've seen this done with flakes by a NixOS power user named gvolpe. He has it configured to automatically setup each of his different systems with Home Manager, a custom UI, etc. His three different build targets are:
-
Nix-GUI: Make NixOS usable for non-technical users through settings / GUI
I think NixOS would benefit from easily accessible collection of opinionated modules/profiles/configurations with minimal set of options. Something like gnome-desktop / sway-desktop / etc. Gnome actually does pretty good job here.
The point is: currently my NixOS and Home Manager configurations have over 2k LOC total. When you search for configurations on GitHub/Google you are likely to find complex ones. For example, quick search for "nixos gnome" (Google) gives me link to NixOS Wiki (which describes only Gnome part) and blog post (https://gvolpe.com/blog/gnome3-on-nixos/) which is useful but links to really huge configuration (https://github.com/gvolpe/nix-config) that is overwhelming to any beginner.
Great example of such approach is nixos-hardware (https://github.com/NixOS/nixos-hardware) which provides one-line configuration covering hardware quirks.
devshell
- Show HN: Flox 1.0 – Open-source dev env as code with Nix
-
Any tips for setting up a local development environment for wordpress?
numtide/devshell is cool little extension to bare devshells, you may wanna have it.
- Devshell – like virtualenv, but for all the languages
-
Devenv.sh: Fast and reproducible developer environments using Nix
There is also devshell[1] which allows you to configure specific commands for your `env` and sits inside your flake.
-
Just, Nix Shell and Podman are a Killer Combo
devshell is pretty useful too :)
- Ask HN: What is your development workflow on the MacBook M1?
-
Building a highly optimized home environment with Nix
I'm new to the Nix world, but so far I've come across Divnix's Digga, Numtide's DevShell, and Misterio77's nix-starter-configs.
-
Annoncing Shix, tailored development shells made with Nix
How does it differ from https://github.com/numtide/devshell ?
-
Nim packages stats
But take a look at devshell is like the NixOS/HomeManager of your (any language) project. I over abused it to create YAML files and to use Nim as script
-
Use remote package derivation file with nix-shell --packages option
Here's an example with devShell as a remote repository: sh nix-shell -p '(import (fetchGit "https://github.com/numtide/devshell") {}).cli'
What are some alternatives?
impermanence - Modules to help you handle persistent state on systems with ephemeral root storage [maintainer=@talyz]
nix-direnv - A fast, persistent use_nix/use_flake implementation for direnv [maintainer=@Mic92 / @bbenne10]
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
nixpkgs - My Nix system configs!
nixpkgs - Nix Packages collection & NixOS
visual-studio-code-insiders-nix - The latest Visual Studio Code Insiders build updated daily
devenv - Fast, Declarative, Reproducible, and Composable Developer Environments
dotfiles - My dotfiles
flake-template - My template for Nix flakes
nix-security-lab - Tool set for Information security professionals and all others
nix-gui - Use NixOS Without Coding