/prst-old

Prestidigitate a dev env

Primary LanguageNix

prst - prestidigitate a dev env

uses nix runs on dark magic

install

install and configure nix

First, install nix

Then:

# warlock's first nix config
mkdir -p ~/.config/nix/
echo -e 'max-jobs = auto\ntarball-ttl = 0\nexperimental-features = nix-command flakes' >>~/.config/nix/nix.conf

# add current user as trusted 
echo "trusted-users = root $USER" | sudo tee -a /etc/nix/nix.conf && sudo pkill nix-daemon

git this

git clone https://github.com/wuz/prst.git ~/.config/nixpkgs

install tools

# change the name of the system configuration from `prst` to your hostname in flake.nix

nix build .\#darwinConfigurations.$(hostname).system --extra-experimental-features nix-command --extra-experimental-features flakes --impure

./result/sw/bin/darwin-rebuild switch --flake . --impure