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

• Updated input 'nix-darwin':
    'github:LnL7/nix-darwin/42be12b510253d750138ec90c66decc282298b44?narHash=sha256-/tI1vFJ7/dXJqUmI%2Bs0EV1F0DPe6dZvT444mrLUkrlU%3D' (2025-02-25)
  → 'github:LnL7/nix-darwin/665cc04a60eb8ba47d41eadbe6264ca8a71943e8?narHash=sha256-vBtVB8uU4Bxbyz43MhldAGX91i15j4LJI1Ss3mCCO7s%3D' (2025-02-27)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/5d7db4668d7a0c6cc5fc8cf6ef33b008b2b1ed8b?narHash=sha256-4Xhu/3aUdCKeLfdteEHMegx5ooKQvwPHNkOgNCXQrvc%3D' (2025-02-25)
  → 'github:nixos/nixpkgs/f44bd8ca21e026135061a0a57dcf3d0775b67a49?narHash=sha256-t%2BVaahjQAWyA%2BCtn2idyo1yxRIYpaDxMgHkgCNiMJa4%3D' (2025-02-26)
• Updated input 'nixpkgs-master':
    'github:nixos/nixpkgs/24457e33294780c7e3fed219d3a20096f6ed95a3?narHash=sha256-dmDjSeEuzRR5%2BO6oXxWDMq7Mph7c8e7irPw3gKnYSog%3D' (2025-02-26)
  → 'github:nixos/nixpkgs/fc2c5f5be4a3f5e52feff3ca99589ec4922b6fd8?narHash=sha256-xdkqqPWqoJQcyjG1R8PYR40trZDqCGofZ/5a8YLOuVo%3D' (2025-02-27)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/0196c0175e9191c474c26ab5548db27ef5d34b05?narHash=sha256-WGaHVAjcrv%2BCun7zPlI41SerRtfknGQap281%2BAakSAw%3D' (2025-02-24)
  → 'github:nixos/nixpkgs/5135c59491985879812717f4c9fea69604e7f26f?narHash=sha256-Vr3Qi346M%2B8CjedtbyUevIGDZW8LcA1fTG0ugPY/Hic%3D' (2025-02-26)
2025-02-27 22:17:57 +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-27 22:17:57 +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