No description
Find a file
2024-12-18 10:27:50 +01:00
nixos Moved some configuration 2024-12-18 10:22:40 +01:00
flake.lock Updated apple silicon flake input 2024-12-17 23:03:54 +01:00
flake.nix added sops-nix 2024-12-18 09:28:08 +01:00
README.md updated readme 2024-12-18 10:27:50 +01:00

NixOS Config

Apply cloned config

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

Rebuild system

nh os switch

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 && sudo rm -rf /mnt/tmp