No description
Find a file
Aleksandr Lebedev 62b2741c88 flake.lock: Update
Flake lock file updates:

• Updated input 'emacs-kylekrein':
    'github:kylekrein/emacs-config/7a2324a826ae339d5d416a178d72217d8e4a5dce?narHash=sha256-VMqdT5UfOOZKPmYVJPcP943kPOxYKQVevvkRi/FlqIM%3D' (2025-01-30)
  → 'github:kylekrein/emacs-config/59fa20768fc179eb453b43b4fdbaee328f42a36e?narHash=sha256-PYFvrdPZ7FIcBYkX2zdVDKGME5x920XH%2BLOv4%2Bx%2BP0k%3D' (2025-01-31)
2025-01-31 22:31:33 +01:00
disko moved disco configs out of modules 2025-01-13 19:34:35 +01:00
nixos ( 2025-01-31 19:11:38 +01:00
flake.lock flake.lock: Update 2025-01-31 22:31:33 +01:00
flake.nix Added binary caches to flake.nix 2025-01-30 15:16:29 +01:00
README.md Updated neovim 2025-01-13 15:16:03 +01:00

NixOS Config

Apply cloned config

sudo nixos-rebuild switch --flake ~/nixos-config#kylekrein-homepc

Rebuild system

nh os switch

Generate hardware report

sudo nix run \
  --option experimental-features "nix-command flakes" \
  --option extra-substituters https://numtide.cachix.org \
  --option extra-trusted-public-keys numtide.cachix.org-1:2ps1kLBUWjxIneOy1Ik6cQjb41X0iXVXeHigGmycPPE= \
  github:numtide/nixos-facter -- -o facter.json

Install system

Assuming that you're in nixos installer

sudo nix --extra-experimental-features "flakes nix-command" run github:nix-community/disko -- --mode zap_create_mount --flake github:KyleKrein/nixos-config#kylekrein-homepc

Copy sops age keys to /persist/sops/age/keys.txt or to /var/lib/sops/age/keys.txt if not using impermanence

sudo mkdir /mnt/tmp && TMPDIR=/mnt/tmp sudo nixos-install --flake github:KyleKrein/nixos-config#kylekrein-homepc --no-root-passwd && sudo rm -rf /mnt/tmp