Go to file
Joshua Yuen 2710f8988c
Add powerlevel10k to zsh
2025-08-21 19:15:38 -04:00
hosts/vm Update default host configuration 2025-07-30 14:04:41 -04:00
modules Add powerlevel10k to zsh 2025-08-21 19:15:38 -04:00
profiles/vm Added hyprland, zsh, sddm, and xdg 2025-07-30 13:55:10 -04:00
scripts Update script template 2025-07-31 01:38:45 -04:00
.gitignore Fix rebuild.sh to use new name for .qcow2 disk 2025-07-31 01:32:35 -04:00
README.md Add basic installation on new machine to README 2025-07-31 01:33:37 -04:00
build-iso.sh Return non-zero exit code upon build failure 2025-08-21 11:19:57 -04:00
flake.lock Switch to unstable branches 2025-08-21 19:14:27 -04:00
flake.nix Switch to unstable branches 2025-08-21 19:14:27 -04:00
rebuild.sh Return non-zero exit code upon build failure 2025-08-21 11:19:57 -04:00

README.md

Installing on a new machine

  1. Install NixOS from an ISO via USB
  2. Reboot machine
  3. Edit /etc/nixos/configuration and add git to packages
  4. Clone this repo
  5. Copy new host/ configuration for the new machine
  6. Copy /etc/nixos/hardware-configuration to host/<host>/hardware.nix
  7. Edit flake.nix to point to the new host
  8. git add .
  9. 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