swaywm@fedora, mostly emacs for everything
Go to file
Frieder Schlesier 90739079f6 updates and cleanup 2022-04-02 10:33:53 +02:00
.config/kitty updates and cleanup 2022-04-02 10:33:53 +02:00
.i3 updates and cleanup 2022-04-02 10:33:53 +02:00
.ssh add ssh config template 2017-03-07 17:30:42 +01:00
bin updates and cleanup 2022-04-02 10:33:53 +02:00
etc symcthing: add systemd autostart on login 2021-10-30 10:06:40 +02:00
scripts updates and cleanup 2022-04-02 10:33:53 +02:00
sway mostly happy with sway setup, not decided on status bar 2022-04-02 10:14:36 +02:00
wireguard updates and cleanup 2022-04-02 10:33:53 +02:00
.Xdefaults updates. colors, urxvt, font-size script 2016-05-30 18:00:06 +02:00
.Xresources adjust font for urxvt 2019-01-25 21:53:08 +01:00
.aliases even more updates 2022-04-02 10:19:07 +02:00
.bashrc move tower to archlinux 2022-04-02 10:19:52 +02:00
.dircolors finally fix dircolors 2018-06-16 13:26:42 +02:00
.dockerfunc even more updates 2022-04-02 10:06:21 +02:00
.gitconfig updates and cleanup 2022-04-02 10:33:53 +02:00
.gitignore ignore private stuff 2016-09-13 10:33:58 +02:00
.path updates 2022-03-31 21:46:35 +02:00
.profile move tower to archlinux 2022-04-02 10:19:52 +02:00
.spacemacs updates and cleanup 2022-04-02 10:33:53 +02:00
.vimrc dirty update 2018-06-08 19:56:59 +02:00
.xsessionrc moar cleanup 2016-04-13 18:09:07 +02:00
20-thinkpad.conf more updates 2015-12-26 12:05:14 +01:00
LICENSE.md updates and cleanup 2022-04-02 10:33:53 +02:00
Makefile fix some typos 2018-11-12 11:48:41 +01:00
README.org updates and cleanup 2022-04-02 10:33:53 +02:00
restic-cheatsheet.org updates 2022-02-12 16:51:21 +01:00
userChrome.css reduce font size for thunderbird+firefox 2019-01-25 21:52:42 +01:00

README.org

fschl dotfiles

Things that make my linux life more comfortable, portable and secure. For debian, or debian-based distros. using i3wm.org on the desktop.

Questions this repos tries to answer

  • How long does it take for you to set up a machine?
  • Do you have backups?
  • Are you using a password manager?
  • How do you transport your secrets?
  • Can you get things done without your computer?

    • Rescue+Recover friends laptops/computers
    • panic-ops using a friends laptop

Firefox/Thunderbird customization

  • goto .mozilla/firefox/<user-profile>/
  • mkdir chrome/ && cp ~/dotfiles/userChrome.css ./chrome/
  • open Firefox: about:config and set toolkit.legacyUserProfileCustomizations.stylesheets to true

Security

SSH key generation
  # ED25519 keys are favored over RSA keys when backward compatibility ''is not required''.
  # This is only compatible with OpenSSH 6.5+ and fixed-size (256 bytes).
  $ ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519_host_$(date +%Y-%m-%d) -C "Key to HOST for user-xyz"

  # Fallback for really old systems (why do you still have those??)
  # RSA keys are favored over ECDSA keys when backward compatibility ''is required'',
  # thus, newly generated keys are always either ED25519 or RSA (NOT ECDSA or DSA).
  $ ssh-keygen -t rsa -b 8192 -f ~/.ssh/id_rsa_host_$(date +%Y-%m-%d) -C "Key to HOST for user-xyz"
GnuPG

~/.gnupg/gpg.conf:

personal-digest-preferences SHA512 SHA384
cert-digest-algo SHA256
default-preference-list SHA512 SHA384 AES256 ZLIB BZIP2 ZIP Uncompressed
keyid-format 0xlong
Managing logins & passphrases
  • use a secure, cross-platform, cloudless password manager, e.g keepassXC
Backup Secure Keys

Nowadays it's mere chance to find a USB thumb drive with less than 4GB storage. Though, you want a dedicated drive to transport your password database, ssh keys and GPG keys. Those don't require more than a couple MB. So what to do with the remaining space?

Scenarios:

  • You visit friends, only have your keys with you and you have to check your mails, assist a colleague in some network/ops emergency or just securely look up some confidential information.
  • A family member calls: their HDD just died and you are asked to quickly help out on recovery.

Boot into a safe environment, having all your credentials available in a secure manner. Have a bootable forensics toolbox around to quickly get going in a familiar setup.

Solution: multi-boot!

Thumb Drive Setup

3 partitions: boot+isos, luks encrypted, unencrypted partition for non-sensitive data

TODO [0/5]

  • explain setup, ideas, practises
  • add HOWTO
  • Check new bootable USB solution: https://ventoy.net/en/index.html
  • move to ansible for easier modularization of setup
  • OR: give GUIX a shot

Moving to Arch