Find a file
jhonas 9f130ca346
Move template/* one level up to better expose nix
module options

Create new template to show how to use this flake
2022-10-12 14:14:05 +02:00
pkgs Move template/* one level up to better expose nix 2022-10-12 14:14:05 +02:00
template Move template/* one level up to better expose nix 2022-10-12 14:14:05 +02:00
.gitignore Initial commit 2022-01-21 17:55:29 +01:00
flake.lock Move template/* one level up to better expose nix 2022-10-12 14:14:05 +02:00
flake.nix Move template/* one level up to better expose nix 2022-10-12 14:14:05 +02:00
LICENSE Add License 2022-03-03 12:39:37 +01:00
overlay.nix Move template/* one level up to better expose nix 2022-10-12 14:14:05 +02:00
README.md Use new asciicast 2022-03-03 12:35:28 +01:00
tritonshell.nix Move template/* one level up to better expose nix 2022-10-12 14:14:05 +02:00

tritonshell

a nix dev & ops shell for triton and manta

asciicast

What is the package manager nix? For a refresher, please read on here.

  1. If you're already on NixOS and / or have worked with flakes before, jump to 2.

  2. Install nix, the package manager

    1. Now, make sure you're ready to nix with flakes, this should give you some output:
    nix flake --help
    
    1. Otherwise, proceed to enable flakes (still an experimental feature in nix): https://nixos.wiki/wiki/Flakes#Installing_flakes
  3. Get this nix flake template, it will be setup in a new directory ./tritonshell (feel free to adjust this):

nix flake new --template "git+https://git.greenbaum.cloud/dev/tritonshell?ref=main" ./tritonshell \
&& cd tritonshell
  1. Optional: Adjust ./flake.nix to match domains and data centers of your Triton Data Center setup. Look for the CUSTOMIZE comment.

Greenbaum Cloud users skip this step, everything's preconfigured.

vim ./flake.nix
  1. Ready to go:
nix develop

Optional: If you'd like to add additional packages to your new tritonshell, you can do so: just edit flake.nix and look for extraDevshellPkgs. Packages added here will be pulled from the nixos-unstable channel, you can search for available packages here.

TODO: add nix-direnv