Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 494 Bytes

ali-desktop-fix-broken-nix-store.md

File metadata and controls

18 lines (15 loc) · 494 Bytes

Fix broken Nix store on ali-desktop

  1. Boot into NixOS live disk
  2. Switch to root using sudo -i
  3. Mount the volumes using:
cryptsetup luksOpen /dev/disk/by-partlabel/osvg -
mkdir -p /mnt/nix /mnt/persistence /mnt/home
mount -o subvol=nix /dev/osvg/persistence /mnt/nix
mount -o subvol=persistence /dev/osvg/persistence /mnt/persistence
  1. Clone the repo and re-install
git clone https://github.com/alisonjenkins/nix-config
nixos-install --flake '.#ali-desktop'