1
1
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-09-11 12:49:18 +03:00

simplify synthetic.conf install commands

This commit is contained in:
Daiderd Jordan 2022-01-02 11:49:28 +01:00
parent 209b3fa1a8
commit a13e52e658
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -113,9 +113,9 @@ nix build ~/.config/darwin\#darwinConfigurations.Johns-MacBook.system
# Before 10.15 Catalina # Before 10.15 Catalina
sudo ln -s private/var/run /run sudo ln -s private/var/run /run
# After 10.15 Catalina # After 10.15 Catalina
echo -e "run\tprivate/var/run" | sudo tee -a /etc/synthetic.conf >/dev/null echo -e "run\tprivate/var/run" | sudo tee -a /etc/synthetic.conf
/System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -B &>/dev/null \ /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -B
|| /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -t &>/dev/null /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -t
# Configure the channel # Configure the channel
nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin