No description
Find a file
Aleksandr Lebedev 0aefae0b1a flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs-master':
    'github:nixos/nixpkgs/9161971a37849bb7e95f499569a0a4eb05831a82?narHash=sha256-m0i9UCjEUzepc2Hphyi976C6btW1zOUBGynVd/Pf8iQ%3D' (2025-03-11)
  → 'github:nixos/nixpkgs/c25a593fb4735701ab048999856c3ce9f93baf7b?narHash=sha256-Bc34%2B%2Bxogm04Rhf7nIpQqGCC9bsmLYr4Sv/gM2OJUcs%3D' (2025-03-12)
2025-03-12 11:11:40 +01:00
disko Fixe 2025-02-28 16:15:55 +01:00
nixos Reenabled ollama for homepc 2025-03-11 21:05:18 +01:00
flake.lock flake.lock: Update 2025-03-12 11:11:40 +01:00
flake.nix Emacs update, clangd 2025-03-09 20:44:51 +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