Skip to content

wuz/prst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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