This is my personal Nix(OS) configuration that I use across my machines.
Illustrations by いらすとや
- hosts/ - Host-specific configuration
- lib/: Helper functions and attributes
- mixins/ - Individual application configuration
- modules/ - Modules that can be enabled and configured through options
- overlays/ - Overlays to
nixpkgs - pkgs/ - Custom packages definitions
- secrets/ - Encrypted secrets
| Icon | Name | Description | Hardware | System |
|---|---|---|---|---|
| 🐈⬛ | bakeneko |
Personal laptop (new) | ASUS ROG Zephyrus G16 (2024) GU605 | Windows (WSL) |
| 🕷️ | jorogumo |
Work laptop | MacBook Pro M3 | macOS |
| 👺 | tengu |
Virtual private server | Hetzner Cloud Server | NixOS |
sudo nixos-rebuild switch --flake .#<hostname>darwin-rebuild switch --flake .#<hostname>To update the flake.lock file:
nix flake updateTo remove unused packages:
sudo nix-collect-garbage