40 lines
673 B
Markdown
40 lines
673 B
Markdown
# Floccus
|
|
|
|
## Mac setup
|
|
|
|
### Installation
|
|
|
|
```sh
|
|
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
|
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
|
git clone ssh://git@codeberg.org/kremer/nix-config.git ~/.config/nix
|
|
nix run nix-darwin -- switch --flake ~/.config/nix
|
|
```
|
|
|
|
### Switch
|
|
|
|
```sh
|
|
nh darwin switch
|
|
```
|
|
|
|
## NixOS setup
|
|
|
|
### Installation
|
|
|
|
```sh
|
|
git clone ssh://git@codeberg.org/kremer/nix-config.git ~/.config/nix
|
|
sudo nixos-rebuild switch --flake ~/.config/nix
|
|
```
|
|
|
|
### Switch
|
|
|
|
```sh
|
|
deploy
|
|
```
|
|
|
|
## Update
|
|
|
|
```sh
|
|
nix flake update --commit-lock-file ~/.config/nix
|
|
```
|
|
|