- Run
sudo nixos-rebuild switch --flake .#hostname
to apply your system configuration.- If you're still on a live installation medium, run
nixos-install --flake .#hostname
instead, and reboot.
- If you're still on a live installation medium, run
- Run
darwin-rebuild switch --flake .#username@hostname
to apply your macOS configuration.- If you don't have nix-darwin installed, try
nix run nix-darwin/master#darwin-rebuild -- switch
first or see here for installation.
- If you don't have nix-darwin installed, try
- Run
home-manager switch --flake .#username@hostname
to apply your home configuration.- If you don't have home-manager installed, try
nix run home-manager/master -- init --switch
first.
- If you don't have home-manager installed, try
And that's it, really!
github:misterio77/nix-starter-configs
github:sherubthakur/dotfiles
github:hlissner/dotfiles
github:dustinlyons/nixos-config
github:tars0x9752/home
github:Misterio77/nix-config
Usually accompanied by the message "An update is ready to install. Visual Studio Code is trying to add a new helper tool".
This is usually caused due to VSCod{e,ium} residing in a different path than /Applications
. To fix, according to microsoft/vscode#7426 (comment):
sudo chown $USER ~/Library/Caches/com.vscodium.ShipIt/* # or com.microsoft.VSCode.ShipIt/*
xattr -dr com.apple.quarantine ~/Applications/Home\ Manager\ Apps/VSCodium.app # Or Visual\ Studio\ Code.app