Files
dotfiles/README.md

50 lines
859 B
Markdown

Config for my computers.
## Common operations
Update computer and home from my configuration:
```
cd ~/dotfiles
nix-deploy
```
Advanced: computer only:
```
sudo darwin-rebuild switch --flake .
```
Advanced: home only:
```
home-manager switch --flake .
```
Update all dependencies in my configuration:
```
nix flake update
```
NOTE: you have to update computer and update home from
configuration after doing this.
## Add/remove software
### First search for Nix
[search.nixos.org](https://search.nixos.org/packages?buckets={%22package_attr_set%22:[],%22package_license_set%22:[],%22package_maintainers_set%22:[],%22package_teams_set%22:[],%22package_platforms%22:[%22aarch64-darwin%22]})
Add to:
home.packages: `hosts/jupiter/home.nix`
### If not available in Nix
https://formulae.brew.sh/
Add to:
homebrew casks: `hosts/jupiter/darwin.nix`