43 lines
612 B
Markdown
43 lines
612 B
Markdown
Config for my computers.
|
|
|
|
## Common operations
|
|
|
|
Update computer from my configuration:
|
|
|
|
```
|
|
sudo darwin-rebuild switch --flake .
|
|
```
|
|
|
|
Update home from my configuration:
|
|
|
|
```
|
|
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
|
|
|
|
https://search.nixos.org/packages
|
|
|
|
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`
|