Skip to content

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. Run ./renvctl $LANG:install (where $LANG in {ocaml, lean, rust})

Usage

Run ./renvctl deb:upgrade to upgrade Debian packages, ./renvctl nix:update to update nixpkgs, and finally ./renvctl home:apply to install all home-manager managed packages.

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/.profil

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