Go to file
Joshua Yuen fdb7f1962a
Update flake.lock
2026-01-24 19:41:03 -05:00
.vscode Remove repeated lsp options 2025-08-22 11:25:08 -04:00
homes/josh Add tldr user package 2026-01-21 20:31:21 -05:00
hosts Improve live installation ISO 2026-01-24 19:38:04 -05:00
modules Improve live installation ISO 2026-01-24 19:38:04 -05:00
profiles Add home-manager configuration 2026-01-21 17:47:01 -05:00
scripts Update scripts nixos version 2026-01-24 19:39:39 -05: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 to include standalone home manager instructions 2026-01-21 17:57:30 -05:00
build-iso.sh Return non-zero exit code upon build failure 2025-08-21 11:19:57 -04:00
flake.lock Update flake.lock 2026-01-24 19:41:03 -05:00
flake.nix Improve live installation ISO 2026-01-24 19:38:04 -05:00
rebuild.sh Add home-manager configuration 2026-01-21 17:47:01 -05: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

Using Standalone Home Manager

  1. Install Nix via:

sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --daemon

  1. Create ~/.config/nix/nix.conf file with the following contents to enable the use of flakes:
experimental-features = nix-command flakes
  1. Install git
  2. Clone this repo
  3. Edit flake.nix variables as needed
  4. home-manager switch --flake .

Misc

Garbage collection

nix-collect-garbage -d

Fonts

Checking installed fonts

fc-list

Debugging kitty fonts

kitty --debug-font-fallback

SDDM virtual keyboard ??ZZ