|
|
||
|---|---|---|
| .vscode | ||
| hosts/vm | ||
| modules | ||
| profiles/vm | ||
| scripts | ||
| .gitignore | ||
| README.md | ||
| build-iso.sh | ||
| flake.lock | ||
| flake.nix | ||
| rebuild.sh | ||
README.md
Installing on a new machine
- Install NixOS from an ISO via USB
- Reboot machine
- Edit /etc/nixos/configuration and add
gitto packages - Clone this repo
- Copy new
host/configuration for the new machine - Copy /etc/nixos/hardware-configuration to
host/<host>/hardware.nix - Edit
flake.nixto point to the newhost git add .- Run
sudo nixos-rebuild switch --flake .#nixos
Building NixOS VM
nix build .#nixosConfigurations.nixosvm.config.system.build.vm
https://gist.github.com/FlakM/0535b8aa7efec56906c5ab5e32580adf
Building NixOS ISO
nix build .#nixosConfigurations.live.config.system.build.isoImage
Misc
Garbage collection
nix-collect-garbage -d
Fonts
Checking installed fonts
fc-list
Debugging kitty fonts
kitty --debug-font-fallback