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

• Updated input 'nix-darwin':
    'github:LnL7/nix-darwin/665cc04a60eb8ba47d41eadbe6264ca8a71943e8?narHash=sha256-vBtVB8uU4Bxbyz43MhldAGX91i15j4LJI1Ss3mCCO7s%3D' (2025-02-27)
  → 'github:LnL7/nix-darwin/5d6e0851b60508cffd66b4a6982440a40720338d?narHash=sha256-amZbqP84H/ApugaT%2BTADXTB3NbjkVHI9Vac1saIk0kE%3D' (2025-02-28)
• Updated input 'nixpkgs-master':
    'github:nixos/nixpkgs/fc2c5f5be4a3f5e52feff3ca99589ec4922b6fd8?narHash=sha256-xdkqqPWqoJQcyjG1R8PYR40trZDqCGofZ/5a8YLOuVo%3D' (2025-02-27)
  → 'github:nixos/nixpkgs/def3915dd436a08a1e4af342355aec751ed37a0f?narHash=sha256-qlxLbsHhiZNKax5tfCRzPPT72sVrI6vVHzDWhH/AFMs%3D' (2025-02-28)
2025-02-28 22:54:39 +01:00
disko Fixe 2025-02-28 16:15:55 +01:00
nixos ! 2025-02-28 22:46:22 +01:00
flake.lock flake.lock: Update 2025-02-28 22:54:39 +01:00
flake.nix Fixe 2025-02-28 16:15:55 +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