Work snapshot 2022-08-11

This commit is contained in:
(no name configured) 2022-08-11 15:23:37 -04:00
parent 46ce17d6ac
commit fe2e3ea783
6 changed files with 43 additions and 1 deletions

View File

@ -0,0 +1,4 @@
#!/bin/bash
# AUTHOR: Jeremy Wall (jw), jeremy@marzhillstudios.com
export JAVA_HOME=/Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
result/

View File

@ -1 +1,6 @@
source ~/.bashrc source ~/.bashrc
export PATH="/Users/jwall/Library/Application Support/edgedb/bin:$PATH"
# added by Snowflake SnowSQL installer v1.2
export PATH=/Applications/SnowSQL.app/Contents/MacOS:$PATH

3
.vim/.netrwhist Normal file
View File

@ -0,0 +1,3 @@
let g:netrw_dirhistmax =10
let g:netrw_dirhistcnt =1
let g:netrw_dirhist_1='/Users/jwall/.nix-profile'

30
nix-darwin.sh Executable file
View File

@ -0,0 +1,30 @@
#!/usr/bin/env bash
set -uo pipefail
cd $(dirname "$0")
# setup defaults
config=${config:-jeremys-mbp}
extraOpts=()
# we need to select the correct configuration item via argument.
while [ $# -gt 0 ]; do
i=$1; shift 1
case $i in
--config)
if [ $# -lt 1 ]; then
echo "$0: '$i' requires an argument"
exit 1
fi
config="$1"; shift 1
;;
--show-trace)
extraOpts+=("$1")
esac
done
# Build the system configuration
nix --experimental-features "nix-command flakes" \
build --show-trace ./nix/darwin#darwinConfigurations.${config}.system
# move to profile and activate it
darwin-rebuild --show-trace build ./nix/darwin#${config}

1
result
View File

@ -1 +0,0 @@
/nix/store/3pl430vvk4prggkvwc7kfw8sjg6l0fh7-darwin-system-22.05.20220523.7ae60dd+darwin4.4fdbb81