Updated hardware config to use drive labels; added README content
This commit is contained in:
53
README.org
53
README.org
@@ -1,9 +1,52 @@
|
||||
|
||||
* Dotfiles Repo
|
||||
* NixOS Setup for Omen Laptop
|
||||
|
||||
Installing the base configuration:
|
||||
|
||||
To install these dotfiles, you can use gnu stow. Running the following command will automatically create symlinks for every file in this repo.
|
||||
#+begin_src bash
|
||||
git clone https://github.com/Random936/dotfiles
|
||||
cd dotfiles/
|
||||
stow .
|
||||
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
|
||||
|
||||
|
||||
@@ -19,13 +19,13 @@
|
||||
options snd-hda-intel model=dell-headset-multi
|
||||
'';
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/f4f207c5-08d5-4848-920c-76e99280b04c";
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-partlabel/root";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/7F2D-4654";
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-partlabel/EFI";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user