- Boot from a USB stick with the latest NixOS release
- Change keyboard layout to match device and test that it is correct
- Logon to Wi-Fi
cd /tmp
git clone https://github.com/emillassen/nix-conf.git
cd nix-conf/nixos
nano -L /tmp/secret.key
- Enter the desired password for LUKS encryption and save the file
cat /tmp/secret.key
to make sure that the output matches your desired password and that it is without any trailing linebreakssudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode disko /tmp/nix-conf/nixos/disks.nix
sudo nixos-install --root /mnt --flake /tmp/nix-conf#fw13 --no-root-passwd
- Select
y
to everything - Restart and remove the USB stick
- Logon to Wi-Fi
cd ~/Documents
git clone https://github.com/emillassen/nix-conf.git
cdnix && git remote set-url origin git@github.com:emillassen/nix-conf.git
- Enroll fingerprints using
fprintd-enroll
- Login to Nextcloud Desktop client
nvim ~/.config/Nextcloud/nextcloud.cfg
- Paste
maxChunkSize=50000000
under[General]
gsettings set org.gnome.desktop.interface color-scheme prefer-dark
gsettings set org.gnome.desktop.interface show-battery-percentage true
gsettings set org.gnome.desktop.interface text-scaling-factor 1.25
gsettings set org.gnome.desktop.peripherals.touchpad speed 0.1
gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true
gsettings set org.gnome.desktop.peripherals.mouse accel-profile flat
gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"
gsettings set org.gnome.settings-daemon.plugins.power ambient-enabled false
gsettings set org.gnome.settings-daemon.plugins.power idle-dim false
- Download pub.asc from Bitwarden
- Run the following commands:
cd ~/Downloads/
gpg --keyid-format 0xlong --import pub.asc
gpg --keyid-format 0xlong --card-status
KEY_ID=0x0000000000000000 (the sec# key)
ssh-add -L | awk '{print $1 " " $2 " emil@emillassen.com"}' | tee ~/.ssh/emillassen.pub
chmod 0600 ~/.ssh/emillassen.pub
- Download the .icc profile from https://www.notebookcheck.net/Framework-Laptop-13-5-Ryzen-7-7840U-review-So-much-better-than-the-Intel-version.756613.0.html
- Run the following commands:
cd ~/Downloads/
colormgr import-profile BOE_CQ_______NE135FBM_N41_03.icm
colormgr get-devices
colormgr get-profiles
colormgr device-add-profile `Device ID` `Profile ID`
- Go to Settings -> Color, select the new color profile, and enable it for all users