KISS NixOS configuration based on Flakes & flake-parts (supports macOS too)
Find a file
Sridhar Ratnakumar 5edea6cb00 Update inputs
2022-11-16 10:14:05 -05:00
.vscode vscode: makefile ext 2022-11-10 11:11:25 -05:00
home enable atuin 2022-10-27 11:29:34 -04:00
nixos Update hercules, but still not using it 2022-07-28 21:12:49 -04:00
systems use repl-flake feature 2022-11-03 16:47:44 -04: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-16 10:14:05 -05:00
flake.nix Fix 2022-11-09 08:46:08 -05:00
Makefile Update comment 2022-11-10 11:11:29 -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 ↩︎