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

• Updated input 'home-manager':
    'github:nix-community/home-manager/2532b500c3ed2b8940e831039dcec5a5ea093afc?narHash=sha256-ZOaGwa%2BWnB7Zn3YXimqjmIugAnHePdXCmNu%2BAHkq808%3D' (2025-01-10)
  → 'github:nix-community/home-manager/fc52a210b60f2f52c74eac41a8647c1573d2071d?narHash=sha256-TY0jUwR3EW0fnS0X5wXMAVy6h4Z7Y6a3m%2BYq%2B%2BC9AyE%3D' (2025-01-13)
• Updated input 'neovim':
    'github:kylekrein/neovim/8128ab3365673c217a7e7be5562d6beefb67906d?narHash=sha256-b/1s8o6zbi1%2BMPQL2Ask/5CGnFJDdAPPhPNS9Nlm2ro%3D' (2025-01-13)
  → 'github:kylekrein/neovim/f4018dec360ac2887f0d4d6d049a89dc42917a30?narHash=sha256-d2t3k0oYdWBDC2pjFNOE/Q3xcaYTJGwhyyqAE5IUrTU%3D' (2025-01-13)
• Updated input 'neovim/nvf':
    'github:notashelf/nvf/a1bac1d356d9f0610c0a2757b6abe9d9835b8063?narHash=sha256-MKhkpmhiiF18GCTFyNyzN4Wz5nHd8muXM/O1pfCYvV8%3D' (2025-01-06)
  → 'github:notashelf/nvf/4b9047025f863ac05115437f97b4225ae8f6fb1a?narHash=sha256-8/ltv9RZoL3ZH3OPpO4lyxCEsnn48/awkWWMkFH3/fI%3D' (2025-01-13)
• Added input 'neovim/nvf/plugin-nvim-ufo':
    'github:kevinhwang91/nvim-ufo/32cb247b893a384f1888b9cd737264159ecf183c?narHash=sha256-etyfm4KpwjYN%2BkkotOMl0LgbQniILmqMqab4acMtTlw%3D' (2024-12-25)
• Added input 'neovim/nvf/plugin-promise-async':
    'github:kevinhwang91/promise-async/119e8961014c9bfaf1487bf3c2a393d254f337e2?narHash=sha256-9eM66brPjiFlY64vmBetRYrKnpDyN7%2B/URMm4GsGimA%3D' (2024-08-04)
• Removed input 'neovim/nvf/rnix-lsp'
• Removed input 'neovim/nvf/rnix-lsp/naersk'
• Removed input 'neovim/nvf/rnix-lsp/naersk/nixpkgs'
• Removed input 'neovim/nvf/rnix-lsp/nixpkgs'
• Removed input 'neovim/nvf/rnix-lsp/utils'
• Updated input 'nix-gaming':
    'github:fufexan/nix-gaming/f0bba32370e38a6ed18d7c5c741d23fe53e2d265?narHash=sha256-Sx7Z3ow07ei4FBHuC9p5zkM0kPsHVnne6RK9sKMAZ0I%3D' (2025-01-12)
  → 'github:fufexan/nix-gaming/6d10c642fdd368cdfcf0a64fc1d01498b23276e3?narHash=sha256-1ihkJKOWvdt2v3BtiecEBqTVWgWgHsu/t09YzkZZYAg%3D' (2025-01-13)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/f214c1b76c347a4e9c8fb68c73d4293a6820d125?narHash=sha256-4P99yL8vGehwzytkpP87eklBePt6aqeEC5JFsIzhfUs%3D' (2025-01-10)
  → 'github:Mic92/sops-nix/26632980bf559cc68039de2753acc5ed76acea9c?narHash=sha256-0112YnBwTqhu%2BoDo2lvPmAyCGRraiPqAC2AQtlmv0Fg%3D' (2025-01-13)
• Updated input 'stylix':
    'github:danth/stylix/fb773084f74b2ddec103a2459847dabd2a65874c?narHash=sha256-hR3%2BHth%2BmF8OyLjqislaetsho5WJyKNP6xCojQ1D2BY%3D' (2025-01-12)
  → 'github:danth/stylix/934e2bfe7954d6c94f25d45cb12a8b3547825699?narHash=sha256-OgKIMua33t0ZcdcFiUntFKidwhZrRZUTLlVHJ%2BmAiZQ%3D' (2025-01-13)
2025-01-13 23:44:50 +01:00
disko moved disco configs out of modules 2025-01-13 19:34:35 +01:00
nixos moved disco configs out of modules 2025-01-13 19:34:35 +01:00
flake.lock flake.lock: Update 2025-01-13 23:44:50 +01:00
flake.nix moved disco configs out of modules 2025-01-13 19:34:35 +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