Go to file
Joshua Yuen 87079f64dc
Properly add direnv
2025-08-28 21:39:14 -04:00
.vscode Remove repeated lsp options 2025-08-22 11:25:08 -04:00
hosts/vm Fix nixd nixpkgs configuration 2025-08-22 10:51:12 -04:00
modules Properly add direnv 2025-08-28 21:39:14 -04:00
profiles/vm Add LSP and formatter 2025-08-22 08:46:56 -04:00
scripts Add LSP and formatter 2025-08-22 08:46:56 -04:00
.gitignore Fix rebuild.sh to use new name for .qcow2 disk 2025-07-31 01:32:35 -04:00
README.md Update README.md 2025-08-22 17:54:24 -04:00
build-iso.sh Return non-zero exit code upon build failure 2025-08-21 11:19:57 -04:00
flake.lock Added VSCodium 2025-08-28 18:45:51 -04:00
flake.nix Added VSCodium 2025-08-28 18:45:51 -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

Misc

Garbage collection

nix-collect-garbage -d

Fonts

Checking installed fonts

fc-list

Debugging kitty fonts

kitty --debug-font-fallback

SDDM virtual keyboard ??ZZ