This is the configuration for my work laptop.
Boot a NixOS live USB and clone this repo:
git clone https://github.com/anders130/dotfiles
cd dotfilesThis configuration enables the DisplayLink module. The driver is unfree and must be fetched into the store before installing:
nix-prefetch-url --name displaylink-620.zip https://www.synaptics.com/sites/default/files/exe_files/2025-09/DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu6.2-EXE.zipPartition (erases the disks below) and install:
| Disk | Size | Format | Mount |
|---|---|---|---|
| nixos | 512M | vfat | /boot |
| nixos | 100% | - | - |
sudo nix run github:nix-community/disko -- --mode disko --flake .#workstation
nixos-install --flake .#workstationSet a BIOS password and disable key protection in the BIOS (usually F2 during boot).
-
Create secure boot keys
sudo nix run nixpkgs#sbctl create-keys sudo nix run nixpkgs#sbctl verify
-
Enable Secure-Boot in the BIOS — enable Secure-Boot and check clear keys on next boot, then restart.
-
Enroll Secure-Boot keys
sudo nix run nixpkgs#sbctl enroll-keys -- --microsoft
-
Verify after a reboot
bootctl status
Check the reader is detected, then enroll and verify:
fprintd-list <username>
fprintd-enroll
fprintd-verify