Something went wrong. Try again.
Personal NixOS configuration files
nix nixos
Something went wrong. Try again.
README.md
Amuro #
| System | Architecture | Description |
|---|---|---|
| RX-78-1 | x86_64-linux |
Virtual machine for testing |
| Calibarn | x86_64-linux |
Main desktop PC for work and gaming |
| Barbatos | x86_64-linux |
Laptop used for work when on the move |
Structure #
├── flake.nix
├── modules
│ ├── hosts # Systems managed by this config
│ ├── users # User accounts
│ └── ... # Modules used on my systems
└── pkgs/by-name # Packages I use that aren't on nixpkgs
Installation/New System #
1. Create machine-specific config #
mkdir -p modules/hosts/<HOSTNAME>/
touch modules/hosts/<HOSTNAME>/default.nix
2. Generate Facter report #
sudo nix run \
--option experimental-features "nix-command flakes" \
nixpkgs#nixos-facter -- \
-o modules/hosts/<HOSTNAME>/facter.json
3. Switch to the config #
sudo nixos-rebuild switch --flake .