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

• Updated input 'disko':
    'github:nix-community/disko/0d8c6ad4a43906d14abd5c60e0ffe7b587b213de?narHash=sha256-VT65AE2syHVj6v/DGB496bqBnu1PXrrzwlw07/Zpllc%3D' (2025-03-12)
  → 'github:nix-community/disko/329d3d7e8bc63dd30c39e14e6076db590a6eabe6?narHash=sha256-ViE7NoFWytYO2uJONTAX35eGsvTYXNHjWALeHAg8OQY%3D' (2025-04-02)
• Updated input 'home-manager':
    'github:nix-community/home-manager/0948aeedc296f964140d9429223c7e4a0702a1ff?narHash=sha256-jbqlw4sPArFtNtA1s3kLg7/A4fzP4GLk9bGbtUJg0JQ%3D' (2025-03-22)
  → 'github:nix-community/home-manager/a9f8b3db211b4609ddd83683f9db89796c7f6ac6?narHash=sha256-2lDQBOmlz9ggPxcS7/GvcVdzXMIiT%2BPpMao6FbLJSr0%3D' (2025-04-04)
• Updated input 'nix-darwin':
    'github:LnL7/nix-darwin/eaff8219d629bb86e71e3274e1b7915014e7fb22?narHash=sha256-QtVfBQe5VBnRPP5ustegPlsTdV/SZzt8akOIN5Hlwjk%3D' (2025-03-30)
  → 'github:LnL7/nix-darwin/73d59580d01e9b9f957ba749f336a272869c42dd?narHash=sha256-emPWa5lmKbnyuj8c1mSJUkzJNT%2BiJoU9GMcXwjp2oVM%3D' (2025-04-01)
• Updated input 'nix-gaming':
    'github:fufexan/nix-gaming/2ab0a37308559926bddb0009dfcf16a2a5b34e2b?narHash=sha256-vFuxkHPd%2BXpi5Bx1VCyZwYl/BbF83C%2BKmlbPBNVJvNU%3D' (2025-03-30)
  → 'github:fufexan/nix-gaming/a6fac721ece856f5dd4690b41b92e7ba3a71d033?narHash=sha256-I217zRnDlSdWzoZi4sHaRKdY%2Bx60tLOo8TyRshkyUBM%3D' (2025-04-03)
• Updated input 'nixos-facter-modules':
    'github:numtide/nixos-facter-modules/60f8b8f3f99667de6a493a44375e5506bf0c48b1?narHash=sha256-/nA3tDdp/2g0FBy8966ppC2WDoyXtUWaHkZWL%2BN3ZKc%3D' (2025-02-05)
  → 'github:numtide/nixos-facter-modules/58ad9691670d293a15221d4a78818e0088d2e086?narHash=sha256-7sYig0%2BRcrR3sOL5M%2B2spbpFUHyEP7cnUvCaqFOBjyU%3D' (2025-04-03)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/c570c1f5304493cafe133b8d843c7c1c4a10d3a6?narHash=sha256-tpJsHMUPEhEnzySoQxx7%2BkA%2BKUtgWqvlcUBqROYNNt0%3D' (2025-03-29)
  → 'github:nixos/nixpkgs/bdb91860de2f719b57eef819b5617762f7120c70?narHash=sha256-s1KLDALEeqy%2BttrvqV3jx9mBZEvmthQErTVOAzbjHZs%3D' (2025-04-03)
• Updated input 'nixpkgs-master':
    'github:nixos/nixpkgs/03caaae9b0170310e19876df05c60d5f3ccf979b?narHash=sha256-mn2XquNptOecd/arFCdxBXD1bk4ozuxVvDM2mCqmhaU%3D' (2025-03-30)
  → 'github:nixos/nixpkgs/6c601a5874dcb7d2654a935c447d11f9d8b28809?narHash=sha256-3rkH7dMDgsYwG4Y5JiAzRN9VWBQdocO8cHEEqp3nbrw%3D' (2025-04-05)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/5e5402ecbcb27af32284d4a62553c019a3a49ea6?narHash=sha256-gWd4urRoLRe8GLVC/3rYRae1h%2BxfQzt09xOfb0PaHSk%3D' (2025-03-27)
  → 'github:nixos/nixpkgs/2c8d3f48d33929642c1c12cd243df4cc7d2ce434?narHash=sha256-F7n4%2BKOIfWrwoQjXrL2wD9RhFYLs2/GGe/MQY1sSdlE%3D' (2025-04-02)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/8e873886bbfc32163fe027b8676c75637b7da114?narHash=sha256-Ux/UohNtnM5mn9SFjaHp6IZe2aAnUCzklMluNtV6zFo%3D' (2025-03-30)
  → 'github:Mic92/sops-nix/cff8437c5fe8c68fc3a840a21bf1f4dc801da40d?narHash=sha256-2b11EYa08oqDmF3zEBLkG1AoNn9rB1k39ew/T/mSvbU%3D' (2025-04-04)
• Updated input 'sops-nix/nixpkgs':
    'github:NixOS/nixpkgs/6c5963357f3c1c840201eda129a99d455074db04?narHash=sha256-yQugdVfi316qUfqzN8JMaA2vixl%2B45GxNm4oUfXlbgw%3D' (2025-03-27)
  → 'github:NixOS/nixpkgs/3eeaa42ef4c19447b48d1c676fe59077dfd0846e?narHash=sha256-%2BOE03P3u0FRwhS%2BAh6EYiwxdS1rcIYlXheuXGM3wP3Q%3D' (2025-03-31)
2025-04-05 14:09:04 +02:00
disko Fixe 2025-02-28 16:15:55 +01:00
nixos cc 2025-04-05 14:07:40 +02:00
flake.lock flake.lock: Update 2025-04-05 14:09:04 +02:00
flake.nix Fixed nvidia 2025-04-02 20:50:09 +02: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