No description
Flake lock file updates:
• Updated input 'emacs-kylekrein':
'github:kylekrein/emacs-config/bf707a3acb1e6a4b6c4304c898108d5c2700a18e?narHash=sha256-cfuhs85abFBq35HHQh8T5wOOGqAli21V8IyJxIetdXw%3D' (2025-03-04)
→ 'github:kylekrein/emacs-config/4dfc87635b206fff5af5baf39f2fc80c219bd4ec?narHash=sha256-3CBOkrB4Lu%2B%2B91bVgDyxFkXGBpeC/uqEq7mEi4Ih1s4%3D' (2025-03-05)
|
||
|---|---|---|
| disko | ||
| nixos | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
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