Manual platform configuration - tiesjan/dotfiles GitHub Wiki

Platform independent

  • Firefox, through about:config:
    • set browser.bookmarks.autoExportHTML to true
    • set browser.bookmarks.file to <bookmarks_path>
  • Kitty: place the configured theme in the kitty configuration directory using the themes kitten
  • Libreoffice: set Locale to "Dutch" in Language Settings → Languages

Linux

  • File systems:
    • Mount options by file system:
      • ext4: noatime,nodiratime,errors=remount-ro
      • NTFS: noatime,windows_names
    • Swap file:
      • create and enable /swap file of 4GB:
        # dd if=/dev/zero of=/swap bs=1024 count=4194304
        # chmod 600 /swap
        # mkswap /swap
        # swapon /swap
        
      • mount as file system /swap, mount point none, type swap and options sw
    • Temporary directory /tmp:
      • mount as tmpfs with options mode=1777, nodev, noexec, nosuid
      • make sure to remove the original directory
    • Ensure systemd timer fstrim is enabled
  • GNOME extensions:
  • GRUB, in /etc/default/grub:
    • set the following GRUB_CMDLINE_LINUX_DEFAULT boot options:
      • cpufreq.default_governor=performance
      • preempt=full
      • quiet
      • splash
      • threadirqs
    • set GRUB_DEFAULT to saved
    • set GRUB_DISABLE_OS_PROBER to false
    • set GRUB_SAVE_DEFAULT to true
  • Keyboard: set input sources "Dutch (US)" and "Chinese (Intelligent Pinyin)"
  • Zsh, set default shell:
    # chsh -s /bin/zsh ${USER}
    

Windows

  • Edge, under System and Performance → System settings:
    • disable "Start-up boost"
    • disable "Continue running background extensions and apps when Microsoft Edge is closed"
  • System time as UTC:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
    "RealTimeIsUniversal"=hex(b):01,00,00,00,00,00,00,00