51812c5f65d6f4c8bba282a0acdbf01e8270e4bf
NixOS Setup for Omen Laptop
Installing the base configuration:
nix-shell -p vim git
git clone https://git.randomctf.com/random936/dotfiles
sudo nixos-rebuild switch --flake .#randomctf
Install home manager and related packages:
sudo ./install-homemanager.sh 25.05
home-manager switch --extra-experimental-features "nix-command flakes" --flake .#random
Rbw (Rust Bitwarden) Setup
Before continuing, you will need to login on the Bitwarden website to retrieve your API key. This can be found under: Settings > Security > Keys > View API Key.
# Enter the values it asks for from the Bitwarden view API key window.
rbw register
rbw login
rbw unlock
Mail Setup
Setting up pass:
gpg --full-generate-key
# Copy the value from the output above and use it in the command below.
pass init <GPG_ID>
Setting up protonmail-bridge:
systemctl stop --user protonmail-bridge.service
protonmail-bridge --cli
cert export ~/.config/protonmail/bridge-v3/
login # This might take a while.
info # To get login info. SMTP needs to be added to authinfo.
exit
systemctl start --user protonmail-bridge.service
# Add passwords for protonmail bridge.
pass add "protonmail-bridge" <PASS>
Setting up mu4e:
mu init --maildir=~/.mail --my-address=<email_address>
mbsync -a
Description
Languages
Nix
87.9%
Shell
11.2%
Python
0.9%