nixfiles/LAPPY_SETUP_GUIDE.md
ChaotiCryptidz 78ce3bafd5 gnom e
2022-02-14 15:16:35 +00:00

5.2 KiB

Lappy Setup Guide

Filesystems

export DEVICE_ROOT=/dev/nvme0n1
export DEVICE_BOOT_PART=${DEVICE_ROOT}p1
export DEVICE_ENCRYPTED_ROOT_PART=${DEVICE_ROOT}p2
export DEVICE_UNENCRYPTED_ROOT_NAME=cryptroot
export DEVICE_UNENCRYPTED_ROOT=/dev/mapper/${DEVICE_UNENCRYPTED_ROOT_NAME}
export ENCRYPTION_KEY_PATH=mount/encryption-keys/lappy.key

parted /dev/${DEVICE_ROOT} -- mklabel gpt
parted /dev/${DEVICE_ROOT} -- mkpart ESP fat32 1MiB 512MiB
parted /dev/${DEVICE_ROOT} -- mkpart primary 620MiB -1MiB
parted /dev/${DEVICE_ROOT} -- set 1 esp on
parted /dev/${DEVICE_ROOT} -- name 1 nixboot
parted /dev/${DEVICE_ROOT} -- name 2 nixos_encrypted
mkfs.fat -n nixboot ${DEVICE_BOOT_PART}

cryptsetup luksFormat ${DEVICE_ENCRYPTED_ROOT_PART}
cryptsetup luksAddKey ${DEVICE_ENCRYPTED_ROOT_PART} ${ENCRYPTION_KEY_PATH}
cryptsetup luksOpen ${DEVICE_ENCRYPTED_ROOT_PART} ${DEVICE_UNENCRYPTED_ROOT_NAME}
mkfs.ext4 -L nixos ${DEVICE_UNENCRYPTED_ROOT}

SSH Key

unbase64 it from vault

NetworkManager

Grab passwords from Vault

Gnome

(if using gnome)

Settings App

Mouse Settings

Disable Natural Scrolling

Multitasking

Fixed number of workspaces: 9

Keyboard

Set keyboard to UK English Default

Keyboard Shortcuts

Alt+Num for all workspace switch Alt+Shift+Num for all move window Alt+F for Fullscreen Alt+Shift+F for Maximize Print for save screenshot to clipboard Shift+Print for screenshot area Alt+Shift+Q for close window Custom Alt+Enter for kitty Custom: Alt+D for rofi -show run Run these because gnome cant do this:

for i in {1..9}
do
dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-${i} "['<Alt>${i}']"
done

dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-1 "['<Shift><Alt>exclam']"
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-2 "['<Shift><Alt>quotedbl']"
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-3 "['<Shift><Alt>sterling']"
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-4 "['<Shift><Alt>dollar']"
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-5 "['<Shift><Alt>percent']"
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-6 "['<Shift><Alt>asciicircum']"
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-7 "['<Shift><Alt>ampersand']"
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-8 "['<Shift><Alt>asterisk']"
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-9 "['<Shift><Alt>parenleft']"


Accessability

Cursor Size: Medium Disable Animations

Gnome-Extensions-App

Enable Just Perfection

Just Pefection

Custom Disable Workspace Popup Disable Search Disable Dash Animation: No.

Gnome-Tweaks

Fonts: All to whatever readable comic sans/code Hinting: Full Antialiasing: Subpixel Top Bar: Enable battery percentage Clock: Enable All

Browser (vivaldi)

Settings

General

Home Page: Start Page Startup With: Start Page

Appearance

Use Animation: NO!

Themes

Theme: Custom Background: #2e3440 Foreground: #eceff4 Highlight: #88c0d0 Accent: #4c566a Corner Rounding: 2

Tabs

  • Display Close Button: Permanantly
  • Active Tab Minimum Width: 150px
  • Tab Stacking: Disable
  • Mute Tab Audio: Play only in active tab
  • Default search engine: Google
  • Always search in new tab: ON

Privacy

  • Phishing and Malware Protection: OFF
  • DNS to help resolve navigation errors: OFF
  • Form AutoFill Assist: OFF
  • Ask websites not to track me: ON
  • No Blocking
  • Save Webpage Passwords: OFF

Downloads

  • Save without asking: ON

Webpages

  • Default Webpage Zoom: 145%
  • Disable Use Tab Zoom
  • Disable Use Ctrl+Scroll Zoom
  • Plugins: Enable All
  • Fonts: All to Comic Sans apart from Monospace which is Comic Code
  • Reader: Colour Scheme: Dark

Extensions

Install the following extensions:

  • Stylus
  • Tampermonkey
  • uBlock Origin Then install all userscripts and userstyles from Here

Telegram Desktop (kotatogram)

  • Set interface size to 200%
  • Recent stickers: show 40 stickers
  • Sticker Height: 165px
  • Upload Speed Boost: Slight
  • Main Font & Semibold Font: Comic Sans MS
  • Monospaced Font: Comic Code
  • Confirm before calling: on

Quassel Client

Interface

  • Set theme to config dir's style.qss
  • Widget Style: Fusion
  • Fallback Icon Theme: Fusion
  • Show System Tray Icon

Chat View

  • Chat Window Font: Comic Code 20pt

Chat View Colours

  • Disable Custom Colours
  • Disallow coloured text

Chat & Nick Lists

  • Custom Font: Comic Code 18pt
  • Use Custom Colours:
Standard: #ffffff
Inactive: #bbbbbb
Unread: #26f502
Highlight: #fff700
Other: #00dda6

Input Widget

  • Custom Font: Comic Code 18pt

Topic Widget

  • Custom Font: Comic Code 14pt

Backlog Fetching

  • Amount: 500
  • Method: Fixed
  • Initial: 2000

Websites

discord.com

Zoom: 165%

Appearance

  • Chat Font Scaling: 18px

Accessability

  • Saturation: 70%
  • Apply to custom colour schemes: ON
  • Enable Reduced Motion
  • Enable Play Animated Emoji
  • Stickers: Animate on interaction

Notifications

  • DISABLE ALL SOUNDS.

twitter.com

Accessability

  • Reduce Motion

Display

  • Theme: Lights Out
  • Colour: Purple
  • Font Size: Large

VaultUI

Zoom: 165%

  • Default View&Editor Syntax: YAML
  • View&Editor Indent: 2

gitlab.com

Zoom: 185%