No description
Find a file
Aleksandr Lebedev 60f0418f98 flake.lock: Update
Flake lock file updates:

• Updated input 'emacs-kylekrein':
    'github:kylekrein/emacs-config/b31a95ff80834bbca8984725f0c13af03104a5c0?narHash=sha256-fIm9iPJjFMrLYEQt1Vm0nHi2nDtcryw8cChziknzsh8%3D' (2025-05-22)
  → 'github:kylekrein/emacs-config/330c4142710f7c56a020c77e5ecbe1372ab28701?narHash=sha256-MGuM9VPs%2BcCr7qfuhkF2L4mlF/K%2BOrHKNqlyGGOcm18%3D' (2025-06-06)
2025-06-06 16:55:21 +02:00
disko Fixe 2025-02-28 16:15:55 +01:00
nixos Disabled plymouth 2025-06-06 16:54:54 +02:00
flake.lock flake.lock: Update 2025-06-06 16:55:21 +02:00
flake.nix zhu 2025-05-25 12:25:05 +02: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