nix-config
nixos-hardware
Our great sponsors
nix-config | nixos-hardware | |
---|---|---|
5 | 69 | |
730 | 1,516 | |
- | 6.9% | |
8.8 | 9.5 | |
4 days ago | 6 days ago | |
Nix | Nix | |
Apache License 2.0 | Creative Commons Zero v1.0 Universal |
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.
nixos-hardware
-
Microsoft Is Driving Users Away
Always useful to look at the seemingly endless stream of Linux information, the Arch wiki:
https://wiki.archlinux.org/title/ASUS_ROG_Zephyrus_G14_(2022...
Also NixOS has a nixos-hardware repository with configurations for some laptops:
https://github.com/NixOS/nixos-hardware/tree/master/asus/zep...
Reasonably legible if you ever programmed anything
-
Unable to start ROG Control Center
{ imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix # Additional hardware specific configuration # https://github.com/NixOS/nixos-hardware ];
-
NixOS Unstable - Nvidia - Hyprland
You could try this repo for hardware support on various laptops if yours is on it: https://github.com/NixOS/nixos-hardware
-
macOS Sonoma Broke Grep
https://github.com/NixOS/nixos-hardware
- NixOS on Hyper-V (Win11)
- System crashes when Fn+f5/6/7/8/9 is pressed.
-
A couple nooby questions
Btw, for starters, I think you can learn a lot by checking other's configurations and from things like https://github.com/NixOS/nixos-hardware. There are a lot of useful/essential configurations that are not enabled by default.
-
Setup -Advice or another attempt to dive deep
in that case do note that this module assumes you use nixos-hardware, otherwise you can remove lines 161-165. I can also send you my VM's libvirtd .xml file when you get around to creating it.
-
Xorg fails to start with the modesetting driver
My computer is a Lenovo Legion 5 Pro with a dual GPU setup (AMD iGPU + Nvidia DGPU) where I'm using a "hybrid mode" configuration provided by nixos-hardware, using PRIME offload.
Not too long ago nixos-hardware changed the default Xorg driver for AMD to modesetting from amdgpu.
What are some alternatives?
devshell - Per project developer environments
rtw89 - Driver for Realtek 8852AE, an 802.11ax device
impermanence - Modules to help you handle persistent state on systems with ephemeral root storage [maintainer=@talyz]
USB-WiFi - USB WiFi Adapter Information for Linux
nix-direnv - A fast, persistent use_nix/use_flake implementation for direnv [maintainer=@Mic92 / @bbenne10]
nix-gui - Use NixOS Without Coding
nixpkgs - My Nix system configs!
nonguix
visual-studio-code-insiders-nix - The latest Visual Studio Code Insiders build updated daily
nonguix - Nonguix mirror – pull requests ignored, please use upstream for that
dotfiles - My dotfiles
rnix-lsp - WIP Language Server for Nix! [maintainer=@aaronjanse]