dcecile / intertwine

0 stars 0 forks source link

Setup

Nix package manager

  1. Install Nix 2.15.0
  2. Install init profile flake
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix/tag/v0.9.1 | sh -s -- install
nix profile install ./dev-nix-init

Upgrade

  1. Nix: uninstall, then reinstall
  2. Init profile flake: find and upgrade the profile
nix profile list
nix profile upgrade <YOUR_PROFILE_ENTRY_INDEX>

direnv

  1. Installed by Nix
  2. Hook into your shell
  3. Allow this repo
  4. Use nix-direnv library
direnv allow
mkdir -p $HOME/.config/direnv
echo 'source $HOME/.nix-profile/share/nix-direnv/direnvrc' >> $HOME/.config/direnv/direnvrc

pnpm

  1. Installed by Nix

Rust

  1. Installed by Nix

Easy-RSA

General:

task easyrsa:server:build

Ubuntu:

sudo cp .pki/ca.crt /usr/local/share/ca-certificates
sudo update-ca-certificates

Chrome & Firefox:

Visual Studio Code

  1. Install Visual Studio Code
  2. Run the command Tasks: Allow Automatic Tasks in Folder

Commands