This repo is a fork of Frost-Phoenix's Flakes
./modules/global: contains common modules made to be used by many systems./modules/<hostname>: contains modules made to be used by specific hosts
- missing modules
cpufreq_stats
- tex
- fix reverse hyperlinks. have a look at this
- Errors logged in "non-nix/logs" dir
- I changed the default location of the
hardware configuration.nix. But I didn't setup a method for nix to recognise the file ashardware configuration.nix.
- Learn how to use utilise papirus-icon-theme
- nvim doesn't beep when i press esc repeatedly in normal mode
- Cmd to set partition to unlock at boot:
sudo systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=0+7 /dev/nvme0n1px- When above setup breaks:
- The corresponding luks keyslot and token become useless and have to be deleted
- The above cmd has to be executed again
Here's how to cleanup the broken parts:
Extract info on the device to check which token and which key it uses:
sudo cryptsetup luksDump /dev/nvme0n1pxFor the keyslot:
sudo cryptsetup luksKillSlot /dev/nvme0n1px <keyslotNo>For the token:
sudo cryptsetup token remove --token-id <tokenNo> /dev/nvme0n1pxCreate feature branch
git checkout main
git checkout --orphan feature
git commit -m "main (squashed)"git checkout main
# Create a temporary squash of main
git checkout --orphan temp
git commit -m "main (squashed)"
# Rebase only the very first commit in feature branch
git rebase --onto temp $(git rev-list --max-parents=0 HEAD) feature
# Clean up
git branch -D temp
# Compare main and feature branches
git diff $(git rev-list --max-parents=0 feature)^{tree} main^{tree}