From 94f214ef123cdec860a3d0c2ea8723a802543565 Mon Sep 17 00:00:00 2001 From: Kristian Krsnik Date: Mon, 18 Sep 2023 15:50:16 +0200 Subject: [PATCH] added instructions --- README.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..f311a4e --- /dev/null +++ b/README.md @@ -0,0 +1,48 @@ +# Home Manager Config + +## Laptop + +Specific instructions for the `Lenovo Thinkpad Yoga C13 (Morphius)` + +Install Mr.Chromebox's [Firmware Utility Script](https://mrchromebox.tech/#fwscript). + +Download [Fedora Workstation](https://www.fedoraproject.org/en/workstation/download). +Boot the Live USB in `minimal graphics mode`. +Install like usual but before restarting do edit the machine's kernel boot params like so: + +```txt +sudo nano /mnt/sysroot/etc/default/grub +``` + +Add `iommu=pt` to `GRUB_CMDLINE_LINUX`. +Example: + +```txt +GRUB_CMDLINE_LINUX="rd.luks.uuid=luks-6ee676a5-8f57-4400-bde6-2f5ff7c1260d nomodeset rhgb iommu=pt quiet" +``` + +Resize the `/tmp` directory to allow for building large packages like `nerdfonts` + +```txt +mount -o remount,size=25G /tmp +systemctl daemon-reload +``` + +Download the current home-manager config from . + +```txt +cd home-manager +nix shell nixpkgs#home-manager --extra-experimental-features "nix-command flakes" +home-manager switch --flake .#laptop --extra-experimental-features "nix-command flakes" +``` + +Configure the following: + +* synthing +* gpg + +In case ssh does not work work do + +```txt +gpgconf --kill gpg-agent +```