nixos-config
nixpkgs
nixos-config | nixpkgs | |
---|---|---|
5 | 3 | |
540 | 375 | |
- | - | |
8.6 | 7.9 | |
19 days ago | 10 days ago | |
Nix | Nix | |
MIT License | 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.
nixos-config
- Ask HN: What Are You Learning?
-
Hyprland - A dynamic tiling Wayland compositor based on wlroots that doesn't sacrifice on its looks
I also took a lot of inspiration from this NixOS config that I think demonstrates a lot of things you can do with them.
-
Best way to manage multiple home manager configs for both NixOS and non-NixOS systems using flakes?
Check this repo for reference https://github.com/MatthiasBenaets/nixos-config
-
Passing variables from one file to another.
The other one I've seen seems more elegant, but I've only seen once and doesn't seem to be fully explain by the author: https://github.com/MatthiasBenaets/nixos-config/blob/master/flake.nix I've tried what he's showcasing here, but it doesn't work the variables are undefined and the tips given by nix-rebuild aren't enough for me to make sense of it.
-
Distrotube — NixOS Is The Power User Distro (Now With An Easy Installer!)
# nixos-generate-config --root /mnt # git clone https://github.com/matthiasbenaets/nixos-config /mnt/etc/nixos/ (I think this can also be avoided I forgot to check this :| ) # cp /mnt/etc/nixos/hardware-configuration.nix /mnt/etc/nixos/nixos-config/hosts//. # cd /mnt/etc/nixos/ # nixos-install --flake .#
nixpkgs
-
NixOS-generators – Collection of VM and Container disk image builders for NixOS
I’ve found it most helpful to review other people’s configurations to learn Nix.
Some specific ones I really like:
https://github.com/malob/nixpkgs
https://github.com/fufexan/dotfiles
I keep a not comprehensive GitHub Stars list of Nix stuff I find here if you want more:
https://github.com/stars/heywoodlh/lists/nix
If you aren’t familiar, Nix-Darwin allows you to codify your MacOS deployments in a fashion comparable to NixOS. As a huge Nix-Darwin user myself, I have found malob’s repo extremely helpful for ideas with MacOS configuration. Nix-Darwin has made me so happy as a MacOS user. :)
Some other unsolicited tips:
1. Start with Nix flakes for configuration
2. Invest in Home-Manager before NixOS or Nix-Darwin
3. Ask people for help in Matrix or Discourse — my experience is that Nix-related folk are very welcoming and understanding
Good luck!
-
How do you set git in order to clone from private repo?
I don't think system.autoUpgrade will work at all with flakes since you'd need to update your flake lock file for anything to get updated. I've seen a way to do that automatically with github actions here.
-
Nix Flake working on Darwin, but darwin-rebuild doesn't recognize --experimental-features flag
https://github.com/malob/nixpkgs/discussions/6 (discussion on how to bootstrap a Flake file on Darwin)
What are some alternatives?
dotfiles - NixOS system config & Home-Manager user config
nix-doom-emacs - doom-emacs packaged for Nix
dotfiles - My personal dotfiles
impermanence - Modules to help you handle persistent state on systems with ephemeral root storage [maintainer=@talyz]
system - Declarative system configurations using nixOS, nix-darwin, and home-manager
nix-config - :space_invader: NixOS configuration
home-manager - Manage a user environment using Nix [maintainer=@rycee] [Moved to: https://github.com/nix-community/home-manager]
nix-starter-configs - Simple and documented config templates to help you get started with NixOS + home-manager + flakes. All the boilerplate you need!
environment - dotfiles
stow-dotfiles
solana-nix - The Solana CLI tools packaged up with Nix