Skip to content
/ renv Public

My computing environment, I'd rather not use it (at least not as-is)

License

Notifications You must be signed in to change notification settings

rvarago/renv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

renv

"Rafael's Environment", a bunch of quick & dirty, perhaps awkward hacks tailored for my own usage.

My computing environment based on nix/home-manager.

Introduction

The script renvctl orchestrates part of the process of installing components with home-manager and similar:

λ   ./renvctl help

Pre-Installation

  1. Ensure that settings.nix is correct for the environment (e.g. username matches the system, email)
    1. Run ./renvctl home:configure
  2. Run ./renvctl check
    • Install the missing dependencies
  3. Run ./renvctl deb:install
  4. Run ./renvctl nix:install (may need a reboot)
  5. Run ./renvctl nix:update
  6. Run ./renvctl nix:cache:install
  7. (Optional) Run ./renvctl vscode:install
  8. (Optional) Run ./renvctl $LANG:install (where $LANG in {ocaml, lean, rust})

Usage

  • ./renvctl customise:new to start a new non-persistent customisation file
  • ./renvctl home:apply to install all home-manager managed packages
  • ./renvctl deb:upgrade to upgrade Debian packages
  • ./renvctl nix:update to update nixpkgs

Post-Installation

Load Environment Variables

Append to variables exposed by home-manager to the login config:

echo ". $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh" >> /home/$USER/.profile

Set Fish as Default Shell

Append to shells and then set the shell:

export U=$USER
echo /home/$U/.nix-profile/bin/fish >> "/etc/shells" && chsh -s /home/$U/.nix-profile/bin/fish $U

Setup Docker

Install docker by following the steps:

TODOs

About

My computing environment, I'd rather not use it (at least not as-is)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published