1
1
Fork 0
nixos/options/custom/scripts/repl.sh

11 lines
173 B
Bash
Raw Normal View History

#! /usr/bin/env bash
# Nix repl with loaded configuration
cd /etc/nixos || exit 1
nix run .#genflake flake.nix &&
sleep 0.1 &&
git add . &&
nixos-rebuild repl "$@"