Renamed the @inputs to @top. This was a misguided attempt to make a
different change, but it's going to stick, now.
Began moving packages to their own folder rather than being intermingled
with overlays
Created a local overlay that just includes my personal packages
Cleaned up some dead code
Moved to just using the raw 'imports' instead of needing to explicitly
call out the `foo = import foo.nix {};` syntax
14 lines
314 B
Bash
14 lines
314 B
Bash
# vim: set ft=bash:
|
|
# Build different targets with GUI or not
|
|
|
|
# Build and switch
|
|
user="$(whoami)"
|
|
src="${HOME}/.config/nix"
|
|
echo "Building ${user}"
|
|
dest=$(mktemp -d)
|
|
pushd "${dest}" > /dev/null
|
|
nix build "${src}#homeConfigurations.\"${user}\".activationPackage"
|
|
./result/activate
|
|
popd > /dev/null
|
|
rm -r "${dest}"
|