Nix-Config/bin/apply-system.bash

7 lines
115 B
Bash
Executable File

#!/usr/bin/env bash
pushd ~/.my_config
sudo nixos-rebuild switch -I nixos-config=./system/configuration.nix
popd