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

• Updated input 'nix-gaming':
    'github:fufexan/nix-gaming/1e6dc4b9895602f9459d6ff3a11b0cd144321207?narHash=sha256-hKaJ6QDZuxcbwifzcfLyiK9nmlIx1uQqWQwJ45PBn88%3D' (2025-02-24)
  → 'github:fufexan/nix-gaming/452fbd6a30f128dddf26c63f727cf685b5af5658?narHash=sha256-KiGmSYyO9MJJqYD7nbQ0NQgsAR2VVY/wRra0Bob4KtE%3D' (2025-02-26)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/04ef94c4c1582fd485bbfdb8c4a8ba250e359195?narHash=sha256-cbrw7EgQhcdFnu6iS3vane53bEagZQy/xyIkDWpCgVE%3D' (2025-02-23)
  → 'github:nixos/nixpkgs/5d7db4668d7a0c6cc5fc8cf6ef33b008b2b1ed8b?narHash=sha256-4Xhu/3aUdCKeLfdteEHMegx5ooKQvwPHNkOgNCXQrvc%3D' (2025-02-25)
• Updated input 'nixpkgs-master':
    'github:nixos/nixpkgs/eb41dde320239af3a5236af90edbee8c0cacaf5b?narHash=sha256-5fLbSa4VC8Zi89p9BBVscoSATC/iYyp4sHxkyAKLPdk%3D' (2025-02-25)
  → 'github:nixos/nixpkgs/24457e33294780c7e3fed219d3a20096f6ed95a3?narHash=sha256-dmDjSeEuzRR5%2BO6oXxWDMq7Mph7c8e7irPw3gKnYSog%3D' (2025-02-26)
• Updated input 'stylix':
    'github:danth/stylix/9e30c63f10b8c4516f9b9c80988b8c68d9c53114?narHash=sha256-7SEvP%2B%2Bjm4q9hP8%2BGXdzrETVi4yNO/3a6Ev1pEsw9cU%3D' (2025-02-24)
  → 'github:danth/stylix/aaa2eb8956770c096f9c46fb163bb26602e20e56?narHash=sha256-QRlcA8rtfNdyKpBE%2BptjiB9717Tzum4/sKBSbsyqL6k%3D' (2025-02-25)
2025-02-26 21:06:08 +01:00
disko moved disco configs out of modules 2025-01-13 19:34:35 +01:00
nixos Added backlight widget to waybar 2025-02-23 12:23:02 +01:00
flake.lock flake.lock: Update 2025-02-26 21:06:08 +01:00
flake.nix Pinned apple silicon repo 2025-02-21 13:27:45 +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