aboutsummaryrefslogtreecommitdiff
path: root/install
#!/bin/sh

set -eo pipefail

DIR=$(realpath $(dirname $0))
ROOT="$DIR/roots/tempest.nix"

echo Active tree: "$ROOT"

## Build the libkookie tree
function install {
    NIXPKGS_ALLOW_UNFREE=1 \
    NIXOS_CONFIG="$ROOT" \
    nixos-install --root /mnt \
            -I "nixpkgs=$DIR/nixpkgs" \
            -I "nixpkgs-overlays=$DIR/overlays" \
            -I "home-manager=$DIR/home-manager"
}

install