Files
dotfiles/README.org

53 lines
1.2 KiB
Org Mode

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