Add 'old-conf/' from commit '62a64a79a8'
git-subtree-dir: old-conf git-subtree-mainline:4667974392git-subtree-split:62a64a79a8
This commit is contained in:
commit
83de52d5db
195 changed files with 13408 additions and 0 deletions
11
old-conf/packages/scripts/nosrebuild
Executable file
11
old-conf/packages/scripts/nosrebuild
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
REV=$(curl https://api.github.com/repos/thexyno/nixos-config/branches/main | jq -r .commit.sha)
|
||||
|
||||
if [[ $(uname) == "Linux" ]]; then
|
||||
sudo nixos-rebuild switch --flake "github:thexyno/nixos-config?rev=$REV" -L
|
||||
else # Darwin
|
||||
darwin-rebuild switch --flake "github:thexyno/nixos-config?rev=$REV" -L
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue