KISS NixOS configuration based on Flakes & flake-parts (supports macOS too)
Find a file
2022-05-08 10:25:46 -04:00
.vscode Delete tasks.json 2022-04-08 22:33:35 -04:00
home Run treefmt 2022-05-08 10:25:35 -04:00
nixos harden: outdated info 2022-05-08 10:14:54 -04:00
systems darwin: add nodejs 2022-04-30 13:56:25 -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 flake'ify shell.nix 2022-05-08 10:25:46 -04:00
flake.nix flake'ify shell.nix 2022-05-08 10:25:46 -04:00
Makefile Use --use-remote-sudo to workaround https://github.com/NixOS/nixpkgs/issues/169193 2022-04-30 12:02:36 -04:00
README.md Update all inputs, and stop using hardcoded hash 2022-05-07 13:38:25 -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
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. ↩︎