update flakes
This commit is contained in:
parent
83dc018a4f
commit
58cc357ad9
3 changed files with 15 additions and 22 deletions
|
@ -39,7 +39,7 @@
|
|||
declare -A profiles=(["gorgon"]="home" ["timsch-nb"]="work")
|
||||
profile=''${profiles[$HOSTNAME]:-common}
|
||||
flake=$(nix flake metadata --json ${./.} | jq -r .url)
|
||||
nix build --show-trace --out-link "$tmpdir/result" "$flake#hmConfigurations.''${profile}.activationPackage" "$@"
|
||||
nix build --out-link "$tmpdir/result" "$flake#hmConfigurations.''${profile}.activationPackage" "$@"
|
||||
link=$(realpath $tmpdir/result)
|
||||
$link/activate
|
||||
'');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue