- Nix 88.3%
- Shell 11.7%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| home | ||
| hosts | ||
| scripts | ||
| secrets | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
minmos NixOS Dotfiles
Minimal NixOS and Home Manager configuration using Nix Flakes.
Bootstrapping a New Machine
To apply the configuration on a new NixOS system before Flakes are permanently enabled:
sudo NIX_CONFIG="experimental-features = nix-command flakes" nixos-rebuild switch --flake .#vm
System Update
Once the configuration is active, you can rebuild and update using the custom update script:
sys-update
To apply local configuration changes without pulling from Git or updating flake
inputs, run sys-update --fast. For the first rebuild after adding this option,
run bash ~/.dotfiles/scripts/sys-update.sh --fast; the installed command will
gain the option after that rebuild.
System Maintenance
Periodically garbage collect both the system and Home Manager profiles, refresh bootloader entries, and optimise the store:
sys-maintenance
This keeps 14 days of generations for rollback. Use --all to delete every old
generation, --keep-days N to change the retention period, or --verify to also
run a slow SHA-256 integrity check of the store.