Updated hardware config to use drive labels; added README content

This commit is contained in:
Random936
2025-11-12 21:10:03 -05:00
parent b540cfd946
commit 5f1438f056
2 changed files with 57 additions and 14 deletions

View File

@@ -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 #+begin_src bash
git clone https://github.com/Random936/dotfiles nix-shell -p vim git
cd dotfiles/ git clone https://git.randomctf.com/random936/dotfiles
stow . sudo nixos-rebuild switch --flake .#randomctf
#+end_src #+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

View File

@@ -19,16 +19,16 @@
options snd-hda-intel model=dell-headset-multi options snd-hda-intel model=dell-headset-multi
''; '';
fileSystems."/" = fileSystems."/" = {
{ device = "/dev/disk/by-uuid/f4f207c5-08d5-4848-920c-76e99280b04c"; device = "/dev/disk/by-partlabel/root";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = fileSystems."/boot" = {
{ device = "/dev/disk/by-uuid/7F2D-4654"; device = "/dev/disk/by-partlabel/EFI";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ]; options = [ "fmask=0022" "dmask=0022" ];
}; };
swapDevices = [ ]; swapDevices = [ ];