No description
Flake lock file updates:
• Updated input 'emacs-kylekrein':
'github:kylekrein/emacs-config/8eec32c32a418de3ecc7862052fb809f1ef9c0c0?narHash=sha256-%2BUQIqu8PBm%2BBtkR9mgJDr1JqAi7BbPatsh5a/EOz2Cg%3D' (2025-03-26)
→ 'github:kylekrein/emacs-config/a2ebd01819942925d63435fb4b157cd5ccf03527?narHash=sha256-bhA5UCs8FDTUBJFkV5ucX9DZB7O9ik9PzXiT6N8yjIo%3D' (2025-03-30)
• Updated input 'nix-darwin':
'github:LnL7/nix-darwin/53d0f0ed11487a4476741fde757d0feabef4cc4e?narHash=sha256-i8VPNm4UBsC3Ni6VwjojVJvCpS9GZ4vPrpFRtCGJzBs%3D' (2025-03-29)
→ 'github:LnL7/nix-darwin/eaff8219d629bb86e71e3274e1b7915014e7fb22?narHash=sha256-QtVfBQe5VBnRPP5ustegPlsTdV/SZzt8akOIN5Hlwjk%3D' (2025-03-30)
• Updated input 'nixpkgs-master':
'github:nixos/nixpkgs/8d7565580175ea9c01f97aedc4d4453074da61ab?narHash=sha256-9mHSyFdUxCv/arCjy0GwE4YiycSyYawk6peq5MDAvAs%3D' (2025-03-30)
→ 'github:nixos/nixpkgs/03caaae9b0170310e19876df05c60d5f3ccf979b?narHash=sha256-mn2XquNptOecd/arFCdxBXD1bk4ozuxVvDM2mCqmhaU%3D' (2025-03-30)
|
||
|---|---|---|
| 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