Go to file
Kristian Krsnik a2cd8d467f
restructured
* laptop, pc and common now live in systems
* new dev shell to run dconf2nix
* New dconf weather entry (currently not functional)
2023-09-25 20:02:11 +02:00
systems restructured 2023-09-25 20:02:11 +02:00
.envrc restructured 2023-09-25 20:02:11 +02:00
.gitignore restructured 2023-09-25 20:02:11 +02:00
flake.lock updated inputs 2023-09-17 20:48:16 +02:00
flake.nix restructured 2023-09-25 20:02:11 +02:00
README.md restructured 2023-09-25 20:02:11 +02:00

Home Manager Config

Laptop

Specific instructions for the Lenovo Thinkpad Yoga C13 (Morphius)

Install Mr.Chromebox's Firmware Utility Script.

Download Fedora Workstation. Boot the Live USB in minimal graphics mode. Install like usual but before restarting do edit the machine's kernel boot params like so:

sudo nano /mnt/sysroot/etc/default/grub

Add iommu=pt to GRUB_CMDLINE_LINUX. Example:

GRUB_CMDLINE_LINUX="rd.luks.uuid=luks-6ee676a5-8f57-4400-bde6-2f5ff7c1260d nomodeset rhgb iommu=pt quiet"

Disable SELinux, as Nix does not work with it enabled

sudo nano /etc/selinux/config

and change SELINUX=enforcing to SELINUX=permissive

Resize the /tmp directory to allow for building large packages like nerdfonts

mount -o remount,size=25G /tmp
systemctl daemon-reload

Download the current home-manager config from https://git.krsnik.at/Kristian/home-manager.

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:

  • syncthing
  • gpg

In case ssh does not work work do

gpgconf --kill gpg-agent