KISS NixOS configuration based on Flakes & flake-parts (supports macOS too)
Find a file
Sridhar Ratnakumar feb52b9a65 Update inputs
2022-11-27 12:06:53 -05:00
.vscode vscode: makefile ext 2022-11-10 11:11:25 -05:00
home atuin-- * 2022-11-17 14:05:32 -05:00
nixos Update hercules, but still not using it 2022-07-28 21:12:49 -04:00
systems Inc maxjobs 2022-11-27 11:41:11 -05:00
.envrc flake'ify shell.nix 2022-05-08 10:25:46 -04:00
.gitattributes git: make flake.lock as auto-generated 2022-05-08 10:17:29 -04:00
.gitignore add direnv 2022-04-28 14:47:41 -04:00
flake.lock Update inputs 2022-11-27 12:06:53 -05:00
flake.nix Fix 2022-11-09 08:46:08 -05:00
Makefile disable 'make' 2022-11-16 18:08:41 -05:00
README.md readme: remove outdated 2022-11-04 11:22:59 -04:00

This repository contains the Nix / NixOS configuration for all of my systems. Start from flakes.nix (see Flakes).

To build,

# First, edit nixosConfigurations in flake.nix to add your system's hostname.
# And then change `userName` to your username.
nix run

Install notes

Directory layout

  • home: home-manager config
  • nixos: nixos config (includes nix-darwin)
  • systems: top-level configuration.nix('ish) for various kinds of system

Tips

  • To update NixOS (and other inputs) run nix flake update2
  • To autoformat the project tree using nixpkgs-fmt, run nix fmt.

  1. You might have to rm -rf /etc/nix/nix.conf, so our flake.nix can do its thing. ↩︎

  2. You may also update the inputs selectively, viz.: nix flake lock --update-input nixpkgs --update-input darwin --update-input home-manager ↩︎