summaryrefslogtreecommitdiffstats
path: root/setup.sh
diff options
context:
space:
mode:
authorSkullheadx <andrew.montgomery@warpengine.ai>2026-06-29 14:38:08 -0400
committerSkullheadx <andrew.montgomery@warpengine.ai>2026-06-29 14:38:08 -0400
commita00086f63df186181c254a164c77b974cc7a5c7c (patch)
treef7d6ac98ab49166250a1635059ae032b3719a5be /setup.sh
parentremove work legacy, move more pkgs to common for darwin (diff)
downloadnixos-a00086f63df186181c254a164c77b974cc7a5c7c.tar.gz
nixos-a00086f63df186181c254a164c77b974cc7a5c7c.tar.bz2
nixos-a00086f63df186181c254a164c77b974cc7a5c7c.zip
DRY for username
Diffstat (limited to 'setup.sh')
-rw-r--r--setup.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/setup.sh b/setup.sh
deleted file mode 100644
index 8c4e67c..0000000
--- a/setup.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-curl -sSf -L https://install.lix.systems/lix | sh -s -- install
-. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
-nix --version
-
-mkdir -p ~/src
-cd ~/src
-git clone https://github.com/Skullheadx/dotfiles.git
-cd dotfiles
-git fetch origin
-git checkout -b new-darwin origin/new-darwin
-
-/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-echo >>/Users/andrew/.zprofile
-echo 'eval "$(/opt/homebrew/bin/brew shellenv zsh)"' >>/Users/andrew/.zprofile
-eval "$(/opt/homebrew/bin/brew shellenv zsh)"
-
-sudo mkdir -p /etc/nix-darwin
-sudo chown $(id -nu):$(id -ng) /etc/nix-darwin
-cd /etc/nix-darwin
-
-# To use Nixpkgs unstable:
-nix flake init -t nix-darwin/master
-
-sed -i '' "s/simple/$(scutil --get LocalHostName)/" flake.nix
-
-sudo nix run nix-darwin/master#darwin-rebuild -- switch
-
-zsh
-cd ~/src/dotfiles
-sudo darwin-rebuild switch --flake .