No description
core.nix is the new minimal layer: user, SSH, fish, nix flakes/gc, locale, and a handful of essential packages. Suitable for any headless host that just needs to be SSHable and manageable. base.nix now imports core.nix and adds the day-to-day quality-of-life layer: avahi, mosh, direnv, nix-ld, earlyoom, zramSwap, CLI tools, and build toolchains. All existing hosts that import base.nix are unchanged. bootstrap is updated to import core.nix directly instead of duplicating the config inline. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| alex | ||
| hosts | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| readme.md | ||
| update.sh | ||
Nix Configuration
Deploy
From within this directory:
sudo nixos-rebuild switch --flake .
WiFi
NetworkManager is enabled. Use the terminal UI to connect:
nmtui
Select "Activate a connection", pick your network, and enter the password.
Update and deploy
From within this directory:
nix flake update
sudo nixos-rebuild switch --flake .