Install Ubuntu Desktop 22.04, encrypted ZFS, with minimal packages.
We may want to do the rest of the installation/configuration from our laptop over ssh, so:
sudo apt install openssh-server
Install Shelly dotfiles and packages along with Nix.
Link Shelly "system" files. It will likely be necessary to alter the permissions of target directories and files. e.g. For /nix
:
cd /nix
sudo chown steshaw:steshaw . nix.conf
chmod +w .
shelly-link-system-files
-
Install Regolith Desktop
-
Install all looks
sudo apt install regolith-look-*
- Install status indicators:
sudo apt install i3xrocks-rofication
sudo apt install i3xrocks-memory
- Install Fira Code Nerd Font
sudo apt install fonts-nerd-font-firacode
Execute the output of the following command. This will configure some common tweaks (such as using caps lock for escape). e.g.
runhaskell ~/Code/steshaw/shelly/src/shelly-set-keyboard-map.hs
e.g.
$ runhaskell ~/Code/steshaw/shelly/src/shelly-set-keyboard-map.hs
localectl --no-convert set-x11-keymap us pc105 "" caps:escape_shifted_capslock,shift:both_capslock_cancel,compose:ralt,compose:sclk,lv3:enter_switch,ctrl:swap_lwin_lctl,ctrl:swap_rwin_rctl,apple:alupckeys,numpad:mac,altwin:ctrl_win
sudo apt install autokey-gtk
Install NoMachine (via .deb). Download from https://www.nomachine.com/. e.g.
sudo dpkg -i ./nomachine_8.4.2_1_amd64.deb
Make the following changes to /usr/NX/etc/node.cfg
.
- Set
DefaultDesktopCommand
to the follow to start Regolith instead of Gnome:
DefaultDesktopCommand "/usr/bin/dbus-run-session gnome-session --session=regolith"
- Trick NoMachine into always starting a virtual display (instead of attaching to the physical display) by setting
PhysicalDisplays
to:10
(rather than:0
). Set back to:0
(the default) if you actually want to connect to the physical display. A virtual display is nice because NoMachine will then match the resolution to the resolution of the connecting device making for a much nicer, non-scaled display. Also, this method will work with hardware that has no display.
PhysicalDisplays :10
Enable the new configuration by restarting the NoMachine server:
sudo /etc/NX/nxserver --restart
https://www.dropbox.com/install
Install Tailscale
curl -fsSL https://tailscale.com/install.sh | sh
Install Docker Engine using the convienence scripts. You'll probably want to check the post-installation docs. In particular, you probably want at least:
sudo usermod -aG docker ${USER}