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

• Updated input 'nix-gaming':
    'github:fufexan/nix-gaming/0e78e723bdf5a13dc45f3a6b994715b871c3f650?narHash=sha256-M/ppn20it9Ru2hoYoWIYzEWyTfBVxQiAQ7SvRws%2BluY%3D' (2025-03-07)
  → 'github:fufexan/nix-gaming/6413c80d27072c5e714f48d0f0c3ba332397b7a0?narHash=sha256-jgWQlXKYqfEmbnOLbFVy8JFa5%2B7REv6PEbKV2NhyfHs%3D' (2025-03-09)
• Updated input 'nix-gaming/flake-parts':
    'github:hercules-ci/flake-parts/3876f6b87db82f33775b1ef5ea343986105db764?narHash=sha256-ZaMw0pdoUKigLpv9HiNDH2Pjnosg7NBYMJlHTIsHEUo%3D' (2025-03-01)
  → 'github:hercules-ci/flake-parts/f4330d22f1c5d2ba72d3d22df5597d123fdb60a9?narHash=sha256-%2Bu2UunDA4Cl5Fci3m7S643HzKmIDAe%2BfiXrLqYsR2fs%3D' (2025-03-07)
• Updated input 'nix-gaming/flake-parts/nixpkgs-lib':
    'https://github.com/NixOS/nixpkgs/archive/6d3702243441165a03f699f64416f635220f4f15.tar.gz?narHash=sha256-3wHafybyRfpUCLoE8M%2BuPVZinImg3xX%2BNm6gEfN3G8I%3D' (2025-03-01)
  → 'github:nix-community/nixpkgs.lib/147dee35aab2193b174e4c0868bd80ead5ce755c?narHash=sha256-oiwv/ZK/2FhGxrCkQkB83i7GnWXPPLzoqFHpDD3uYpk%3D' (2025-03-02)
• Updated input 'nix-gaming/nixpkgs':
    'github:NixOS/nixpkgs/199169a2135e6b864a888e89a2ace345703c025d?narHash=sha256-igS2Z4tVw5W/x3lCZeeadt0vcU9fxtetZ/RyrqsCRQ0%3D' (2025-03-01)
  → 'github:NixOS/nixpkgs/de0fe301211c267807afd11b12613f5511ff7433?narHash=sha256-aizILFrPgq/W53Jw8i0a1h1GZAAKtlYOrG/A5r46gVM%3D' (2025-03-07)
• Updated input 'nixpkgs-master':
    'github:nixos/nixpkgs/21d0d2f9888444ca51362081601019b4ff368b3a?narHash=sha256-VfJ4cecdesaquaYes88K1XxpGHZX9mCgteFBWOP8UhU%3D' (2025-03-08)
  → 'github:nixos/nixpkgs/6c8ad0b05d8cc7825c6bc68bc924ab0dd0649c70?narHash=sha256-/56omwPffiS6L7uE4eX2Gfmfq5ZYQNrSi8so/2lXcmw%3D' (2025-03-09)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/10069ef4cf863633f57238f179a0297de84bd8d3?narHash=sha256-Q6pMP4a9ed636qilcYX8XUguvKl/0/LGXhHcRI91p0U%3D' (2025-03-06)
  → 'github:nixos/nixpkgs/36fd87baa9083f34f7f5027900b62ee6d09b1f2f?narHash=sha256-Wh7esNh7G24qYleLvgOSY/7HlDUzWaL/n4qzlBePpiw%3D' (2025-03-07)
2025-03-09 10:50:15 +01:00
disko Fixe 2025-02-28 16:15:55 +01:00
nixos Zhu 2025-03-08 14:14:02 +01:00
flake.lock flake.lock: Update 2025-03-09 10:50:15 +01:00
flake.nix wsl init 2025-03-06 10:13:34 +00: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