Any distro would do, but for my case, it is Arch because I have more control over the partitions. I would like the OS, so root, swap and others on 1 drive. The /home should be on a separate drive. The tricky thing is to have everything encrypted, except /boot and /efi of course.
Now, here is what I can do
- FDE on 1 drive. This is easy: you create /efi, /boot and then create a large LUKS partition. From there, you create LVM on that LUKS partition and get your: /, /home and swap. Then mount everything correctly and install.
In the grub config, you only need to set it so it knows the LUKS partitom and where the root is. For eg, if your LUKs partition is /dev/sda3, you do:
- cryptdevice=UUID=<uuid of the /dev/sda3>: cryptlvm rootfs=/dev/vg/root.
- Unencrypted /home on another drive. This is like 1) but /home is mounted on a separate drive. Still need to do the grub config, but nothing is needed for /home. It is automatically mounted when you login.
Now for my case: Encrypt /home
The encryption and mount part is easy. But how to get the OS to recognize it? The Arch wiki has this weird thing where you create an encryption key, they called it home.key, using cryptsetup. You then store the key in /etc and then in your /etc/crypttab, you specifiy the drive with /home and location of the key. No need for any passphrase.
The problem I have with this is that keys are stored in root. So if my root system is corrupted, I cant even decrypt home....
Any advice is welcome..
Sway is fine. I still prefer i3 because I still use many X applications.
Now for this meme specifically, sway and i3wm are actually easy to understand once you know the basic key chords. Sway in particular can also allow drag and drop to tile manually without shortcuts.
Dwm though is a nightmare for Linux beginners let alone those who never use Linux before. I3 needs a .config file, so newbies can read it and figure out the key bindings. On Dwm? It doesnt need one because the system can just run the compiled dwm executable. So if you really want to make it more secure: configure dwm to your likings => compile it => delete the source folder. Nobody will know wtf is going on, except you.