KISS NixOS configuration based on Flakes & flake-parts (supports macOS too)
Find a file
Sridhar Ratnakumar ef7f04d4c4 Update nixpkgs
2022-07-12 13:16:26 -04:00
.vscode Delete tasks.json 2022-04-08 22:33:35 -04:00
home Add comma 2022-06-11 12:12:26 -04:00
nixos Trim down caches 2022-06-16 14:44:33 -04:00
systems Use the nixPath trick 2022-07-12 12:27:26 -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 nixpkgs 2022-07-12 13:16:26 -04:00
flake.nix Trim down caches 2022-06-16 14:44:33 -04:00
Makefile remove TERM hack 2022-06-11 12:27:19 -04:00
README.md Parametrize userName 2022-06-11 12:45:28 -04:00
treefmt.toml Add treefmt 2022-05-07 09:09:21 -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 or darwinConfigurations in flake.nix to add
# your system's hostname. And then change `userName` to your username.
make

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 update

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