Add 'old-conf/' from commit '62a64a79a8'

git-subtree-dir: old-conf
git-subtree-mainline: 4667974392
git-subtree-split: 62a64a79a8
This commit is contained in:
Lucy Hochkamp 2025-11-21 13:33:06 +01:00
commit 83de52d5db
195 changed files with 13408 additions and 0 deletions

3
old-conf/packages/scripts/, Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
nix shell nixpkgs#$1

View 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

3
old-conf/packages/scripts/nr Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
nix run nixpkgs#$1