Something went wrong. Try again.
My Nix Infra
nix nixos
Something went wrong. Try again.
Nix 81%
Just 9%
Shell 6%
4%
README.md
nixfra #
This repo uses zenix library to structure nix files using a standard opinionated directory structure.
This repo includes:
-
config- normal config files of the tools -
nix- all nix configs -
wallpapers
Desktop NixOS Setup: #
-
nix-shell -p just -
passwd $(whoami) -
just nixos -
just nixos-post
Style Guide #
-
Mark the output attributes in
*.nixfiles withkeep-sortedcomment exceptimports(which must be sorted first). -
Mark the imported modules (more than 1) in
imports = [ ... ]withkeep-sortedcomment. -
Sort the input arguments to
*.nixfiles alphabetically. -
Use
snake_casefor internal codes. -
Hard limit comment length at 80 columns.
-
For the rest, follow any existing style.
-
Run
nix fmt,just checkafter all nix files changes.