nix-config
config
Our great sponsors
nix-config | config | |
---|---|---|
5 | 8 | |
739 | 281 | |
- | - | |
8.8 | 9.2 | |
7 days ago | 3 days ago | |
Nix | Nix | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
config
-
Nix Home Manager Option Search
Declarative home environments are pretty great. Being able to reproduce your entire user setup is fantastic when you manage multiple machines or want to make future migrations.
I run NixOS and use Home-Manager as well. This lets me define my entire system in addition to my user home contents declaratively. So with this configuration I can apply NixOS & Home-Manager to get the same results anywhere.
Here is an example of my Home-Manager configuration: https://github.com/jakehamilton/config/blob/a3da20eeab74a50a...
In this example I configure Git. This gets written to my user home's config directory.
-
Help "packaging" static content for nginx?
I started by packaging Homer itself: https://github.com/jakehamilton/config/blob/main/packages/homer/default.nix
-
NixOS keeps falling back to software rendering
Here's my hardware config (ignore the comment, I need to remove that now): https://github.com/jakehamilton/config/blob/dev/systems/x86_64-linux/jasper/hardware.nix
- Users. line gives me an error
-
How can i install an app image on NixOS?
Here's an example of an appimage I've packaged if it helps: https://github.com/jakehamilton/config/blob/c8476566abf46450060131be23a15910cb530208/packages/ubports-installer/default.nix
- Cult of the Lamb Twitch integration can't be set up. This dialog pops up when trying to set up Twitch integration in-game. Cult of the Lamb is running with Proton. Is it possible to get a browser to open the URL it's trying to open (or even just copy the URL)?
- Host-specific settings (different approaches)
-
Firefox now only available via snap
I jumped in several months ago and haven't really regretted it. The caveat being that you have to be okay with learning Nix (the language), debugging with only arcane error messages to go off of, and reading a lot of the config source because documentation is vast but shallow. If you feel like you're willing to make the tradeoff, then it is a blast and you'll be surprised you ever lived without Nix.
In case you want some inspiration or to take an existing config and run, feel free to take a peek at or use mine: https://github.com/jakehamilton/config
What are some alternatives?
devshell - Per project developer environments
AppImageLauncher - Helper application for Linux distributions serving as a kind of "entry point" for running and integrating AppImages
impermanence - Modules to help you handle persistent state on systems with ephemeral root storage [maintainer=@talyz]
nixos-hardware - A collection of NixOS modules covering hardware quirks.
nix-direnv - A fast, persistent use_nix/use_flake implementation for direnv [maintainer=@Mic92 / @bbenne10]
Hyprland - Hyprland is a highly customizable dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
visual-studio-code-insiders-nix - The latest Visual Studio Code Insiders build updated daily
homer-theme - 🎨 A custom Homer theme!
nixpkgs - My Nix system configs!
dotfiles - My dotfiles
nix-security-lab - Tool set for Information security professionals and all others
rnix-lsp - WIP Language Server for Nix! [maintainer=@aaronjanse]